Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.001069, allocations: 177.1 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 0.7948 GB, free: 18.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009074/0.0009074, allocations: 96.33 kB / 0.9346 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 11.78 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.121/4.376, allocations: 1.754 GB / 2.977 GB, free: 227.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/4.376, allocations: 95.95 kB / 2.978 GB, free: 227.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2999/4.676, allocations: 128.5 MB / 3.103 GB, free: 98.32 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.025e-06/4.676, allocations: 0 / 3.103 GB, free: 98.32 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003868/4.677, allocations: 44 kB / 3.103 GB, free: 98.28 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.07234/4.749, allocations: 23.16 MB / 3.126 GB, free: 75.05 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/4.749, allocations: 8.031 kB / 3.126 GB, free: 75.04 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000767/4.75, allocations: 173.2 kB / 3.126 GB, free: 74.86 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008176/4.758, allocations: 344.6 kB / 3.126 GB, free: 74.52 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7678/5.526, allocations: 94.34 MB / 3.218 GB, free: 360.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/5.526, allocations: 87.08 kB / 3.218 GB, free: 360.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/5.526, allocations: 122.2 kB / 3.219 GB, free: 360.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/5.529, allocations: 1.201 MB / 3.22 GB, free: 360.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/5.529, allocations: 3.359 kB / 3.22 GB, free: 360.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.887e-05/5.529, allocations: 50.08 kB / 3.22 GB, free: 360.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/5.529, allocations: 28.59 kB / 3.22 GB, free: 360.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/5.531, allocations: 1.409 MB / 3.221 GB, free: 360.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1445/5.676, allocations: 79.22 MB / 3.299 GB, free: 342.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/5.678, allocations: 1.024 MB / 3.3 GB, free: 341.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/5.678, allocations: 38.03 kB / 3.3 GB, free: 341.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/5.679, allocations: 0.5604 MB / 3.3 GB, free: 341.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=88): time 2.695e-06/5.68, allocations: 0 / 3.3 GB, free: 341.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=88): time 0.009772/5.689, allocations: 1.591 MB / 3.302 GB, free: 340 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/5.689, allocations: 240.3 kB / 3.302 GB, free: 339.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1931/5.882, allocations: 103.7 MB / 3.403 GB, free: 244.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003308/5.883, allocations: 49.7 kB / 3.403 GB, free: 244.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/5.884, allocations: 0.9735 MB / 3.404 GB, free: 243.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/5.884, allocations: 294.5 kB / 3.404 GB, free: 243.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/5.884, allocations: 20 kB / 3.404 GB, free: 243.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.049e-05/5.885, allocations: 345.4 kB / 3.405 GB, free: 243.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008029/5.885, allocations: 449.5 kB / 3.405 GB, free: 242.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008575/5.886, allocations: 0.5884 MB / 3.406 GB, free: 242.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/5.887, allocations: 0.5034 MB / 3.406 GB, free: 241.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/5.887, allocations: 0 / 3.406 GB, free: 241.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.008366/5.895, allocations: 1.402 MB / 3.408 GB, free: 240.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/5.896, allocations: 4 kB / 3.408 GB, free: 240.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/5.896, allocations: 4 kB / 3.408 GB, free: 240.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/5.896, allocations: 87.06 kB / 3.408 GB, free: 240.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009248/5.897, allocations: 218.6 kB / 3.408 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/5.899, allocations: 1.533 MB / 3.409 GB, free: 238.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006361/5.905, allocations: 248.9 kB / 3.41 GB, free: 238.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/5.906, allocations: 39.8 kB / 3.41 GB, free: 238.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001403/5.907, allocations: 0.7839 MB / 3.41 GB, free: 237.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006395/5.913, allocations: 217.2 kB / 3.411 GB, free: 237.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/5.917, allocations: 1.503 MB / 3.412 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/5.917, allocations: 12 kB / 3.412 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/5.917, allocations: 1.75 kB / 3.412 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/5.917, allocations: 7.406 kB / 3.412 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0584/5.975, allocations: 37.29 MB / 3.449 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/5.975, allocations: 0 / 3.449 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/5.976, allocations: 175.6 kB / 3.449 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005321/5.977, allocations: 87.81 kB / 3.449 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.23e-05/5.977, allocations: 23.98 kB / 3.449 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/5.978, allocations: 1.569 MB / 3.45 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/5.978, allocations: 7.078 kB / 3.45 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007997/5.986, allocations: 1.293 MB / 3.452 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05294/6.039, allocations: 20.49 MB / 3.472 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007985/6.047, allocations: 24 kB / 3.472 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006479/6.054, allocations: 192 kB / 3.472 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/6.054, allocations: 71.59 kB / 3.472 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/6.054, allocations: 39.97 kB / 3.472 GB, free: 178.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0799/6.134, allocations: 76.58 MB / 3.547 GB, free: 101.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.144e-06/6.134, allocations: 0 / 3.547 GB, free: 101.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01214/6.146, allocations: 6.069 MB / 3.553 GB, free: 95.57 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01157/6.158, allocations: 3.457 MB / 3.556 GB, free: 92.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001856/6.16, allocations: 1.129 MB / 3.557 GB, free: 91.68 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/6.16, allocations: 2.344 kB / 3.557 GB, free: 91.68 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008349/6.161, allocations: 0.6115 MB / 3.558 GB, free: 91.08 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006528/6.167, allocations: 345.1 kB / 3.558 GB, free: 90.75 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/6.182, allocations: 6.927 MB / 3.565 GB, free: 83.98 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000996/6.183, allocations: 1.717 MB / 3.567 GB, free: 82.25 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01367/6.196, allocations: 11.11 MB / 3.577 GB, free: 71.27 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01781/6.214, allocations: 4.103 MB / 3.581 GB, free: 67.19 MB / 1.167 GB Notification: Performance of SimCode: time 1.162e-06/6.214, allocations: 3.688 kB / 3.581 GB, free: 67.19 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.651/7.866, allocations: 0.5196 GB / 4.101 GB, free: 362.3 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/7.866, allocations: 275.4 kB / 4.101 GB, free: 361.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.244/14.11, allocations: 0 / 4.101 GB, free: 361.9 MB / 1.182 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)