Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 193.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9851/0.9851, allocations: 135.1 MB / 425.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 60.47 kB / 0.5049 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1954, allocations: 80.93 MB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4986/0.694, allocations: 160.8 MB / 0.741 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03312/0.7272, allocations: 27.07 MB / 0.7675 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005131/0.7324, allocations: 79.56 kB / 0.7676 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.7362, allocations: 1.007 MB / 0.7685 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009399/0.7456, allocations: 1.722 MB / 0.7702 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005342/0.7509, allocations: 1.781 MB / 0.772 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007488/0.7584, allocations: 5.853 MB / 0.7777 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005735/0.7642, allocations: 4.895 MB / 0.7825 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.7676, allocations: 2.327 MB / 0.7847 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003012/0.7707, allocations: 2.873 MB / 0.7875 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006447/0.7713, allocations: 0.5195 MB / 0.788 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.7733, allocations: 1.116 MB / 0.7891 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.7744, allocations: 1.363 MB / 0.7905 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.7766, allocations: 2.391 MB / 0.7928 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006216/0.7829, allocations: 6.648 MB / 0.7993 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.7829, allocations: 0 / 0.7993 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7829, allocations: 0 / 0.7993 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.684e-05/0.783, allocations: 7.938 kB / 0.7993 GB, free: 0.5391 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.00887/0.7919, allocations: 5.099 MB / 0.8043 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.7919, allocations: 15.97 kB / 0.8043 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005987/0.7925, allocations: 0.5143 MB / 0.8048 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.8053, allocations: 2.83 MB / 0.8076 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.8095, allocations: 2.52 MB / 0.81 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.8097, allocations: 279.5 kB / 0.8103 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005683/0.8102, allocations: 368 kB / 0.8106 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.8218, allocations: 5.732 MB / 0.8162 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.676e-05/0.8219, allocations: 0 / 0.8162 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.8223, allocations: 156 kB / 0.8164 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.834e-05/0.8224, allocations: 91.94 kB / 0.8165 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.8366, allocations: 6.858 MB / 0.8232 GB, free: 7.859 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03036/0.867, allocations: 17.36 MB / 0.8401 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009115/0.8761, allocations: 4.485 MB / 0.8445 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005909/0.882, allocations: 2.959 MB / 0.8474 GB, free: 14.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.8832, allocations: 0.6815 MB / 0.8481 GB, free: 13.47 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006057/0.8892, allocations: 2.713 MB / 0.8507 GB, free: 10.72 MB / 0.67 GB Notification: Performance of pre-optimization done (n=315): time 7.404e-06/0.8893, allocations: 4 kB / 0.8507 GB, free: 10.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=315): time 0.02607/0.9153, allocations: 9.694 MB / 0.8602 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.9155, allocations: 214.4 kB / 0.8604 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3102/1.226, allocations: 2.652 MB / 0.863 GB, free: 215.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008273/1.227, allocations: 82.42 kB / 0.863 GB, free: 215.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/1.228, allocations: 1.546 MB / 0.8646 GB, free: 215.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.229, allocations: 1.051 MB / 0.8656 GB, free: 214.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008648/1.23, allocations: 0.5191 MB / 0.8661 GB, free: 214.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/1.23, allocations: 304 kB / 0.8664 GB, free: 213.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00408/1.234, allocations: 2.16 MB / 0.8685 GB, free: 213.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004419/1.238, allocations: 2.521 MB / 0.871 GB, free: 212.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008705/1.247, allocations: 4.679 MB / 0.8755 GB, free: 210.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/1.247, allocations: 2.469 kB / 0.8755 GB, free: 210.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01124/1.258, allocations: 5.753 MB / 0.8811 GB, free: 208.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/1.258, allocations: 10.75 kB / 0.8812 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.258, allocations: 3.5 kB / 0.8812 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/1.26, allocations: 0.8392 MB / 0.882 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/1.264, allocations: 0.7955 MB / 0.8827 GB, free: 208.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009505/1.274, allocations: 7.57 MB / 0.8901 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004689/1.278, allocations: 0.5844 MB / 0.8907 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008655/1.279, allocations: 119 kB / 0.8908 GB, free: 204.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003328/1.283, allocations: 1.031 MB / 0.8918 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/1.284, allocations: 306.3 kB / 0.8921 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.3, allocations: 6.375 MB / 0.8984 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-05/1.3, allocations: 34.56 kB / 0.8984 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.552e-05/1.301, allocations: 10.38 kB / 0.8984 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.376e-05/1.301, allocations: 17.59 kB / 0.8984 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02403/1.325, allocations: 10.73 MB / 0.9089 GB, free: 197.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.325, allocations: 0.7031 kB / 0.9089 GB, free: 197.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003885/1.329, allocations: 0.7632 MB / 0.9096 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/1.331, allocations: 0.7412 MB / 0.9104 GB, free: 197.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004101/1.331, allocations: 86.34 kB / 0.9104 GB, free: 197.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/1.342, allocations: 10.66 MB / 0.9209 GB, free: 189.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.342, allocations: 1.125 kB / 0.9209 GB, free: 189.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02176/1.364, allocations: 9.071 MB / 0.9297 GB, free: 186.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002456/1.366, allocations: 0.8932 MB / 0.9306 GB, free: 185.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/1.368, allocations: 72.19 kB / 0.9307 GB, free: 185.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003866/1.371, allocations: 435 kB / 0.9311 GB, free: 185.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007341/1.372, allocations: 207 kB / 0.9313 GB, free: 185.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004237/1.373, allocations: 110.3 kB / 0.9314 GB, free: 185.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003552/1.376, allocations: 1.934 MB / 0.9333 GB, free: 184.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.71e-07/1.376, allocations: 0 / 0.9333 GB, free: 184.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004234/1.38, allocations: 1.221 MB / 0.9345 GB, free: 184.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.021/1.401, allocations: 10.57 MB / 0.9448 GB, free: 177.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02073/1.422, allocations: 9.3 MB / 0.9539 GB, free: 167.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.422, allocations: 0 / 0.9539 GB, free: 167.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006773/1.429, allocations: 3.325 MB / 0.9571 GB, free: 164.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/1.434, allocations: 0.7658 MB / 0.9579 GB, free: 163.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06924/1.503, allocations: 38.95 MB / 0.9959 GB, free: 123.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/1.506, allocations: 2.695 MB / 0.9985 GB, free: 120.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004475/1.51, allocations: 1.165 MB / 0.9997 GB, free: 119.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/1.513, allocations: 1.636 MB / 1.001 GB, free: 117.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.022e-06/1.513, allocations: 0 / 1.001 GB, free: 117.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5912/2.104, allocations: 80.46 MB / 1.08 GB, free: 37.75 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/2.104, allocations: 292.8 kB / 1.08 GB, free: 37.37 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.182/7.286, allocations: 6.188 kB / 1.08 GB, free: 37.37 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)