Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.00081/0.0008103, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0008307/0.0008308, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7476/0.7476, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003657, allocations: 8 kB / 0.5035 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.465, allocations: 81.57 MB / 0.5831 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1912/0.6562, allocations: 145.7 MB / 0.7255 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03386/0.6901, allocations: 24.91 MB / 0.7498 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.6933, allocations: 63.62 kB / 0.7498 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.6953, allocations: 0.8633 MB / 0.7507 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004246/0.6996, allocations: 1.418 MB / 0.7521 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.7032, allocations: 1.217 MB / 0.7532 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006084/0.7093, allocations: 4.491 MB / 0.7576 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00498/0.7143, allocations: 2.946 MB / 0.7605 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.7171, allocations: 1.342 MB / 0.7618 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.7207, allocations: 1.809 MB / 0.7636 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008108/0.7215, allocations: 104 kB / 0.7637 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.7242, allocations: 0.6087 MB / 0.7643 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.7255, allocations: 0.7236 MB / 0.765 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.7269, allocations: 0.6325 MB / 0.7656 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006625/0.7335, allocations: 4.353 MB / 0.7699 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.7335, allocations: 0 / 0.7699 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7335, allocations: 0 / 0.7699 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003067/0.7339, allocations: 0 / 0.7699 GB, free: 0.8789 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01007/0.7439, allocations: 3.851 MB / 0.7736 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.744, allocations: 12.03 kB / 0.7736 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001733/0.7457, allocations: 455.1 kB / 0.7741 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/0.7591, allocations: 2.882 MB / 0.7769 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007821/0.767, allocations: 2.186 MB / 0.779 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003862/0.7674, allocations: 242.5 kB / 0.7792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.7691, allocations: 316 kB / 0.7795 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.7901, allocations: 5.159 MB / 0.7846 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.7903, allocations: 7.844 kB / 0.7846 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.7914, allocations: 135.9 kB / 0.7847 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.111e-05/0.7915, allocations: 80 kB / 0.7848 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/0.809, allocations: 6.353 MB / 0.791 GB, free: 10.97 MB / 0.6231 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.03213/0.8412, allocations: 14.55 MB / 0.8052 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/0.8563, allocations: 4.501 MB / 0.8096 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008274/0.8646, allocations: 2.478 MB / 0.812 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.8661, allocations: 0.6814 MB / 0.8127 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009081/0.8752, allocations: 2.454 MB / 0.8151 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 7.834e-06/0.8752, allocations: 0 / 0.8151 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.4132/1.288, allocations: 7.518 MB / 0.8224 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.289, allocations: 209.3 kB / 0.8226 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004687/1.293, allocations: 2.376 MB / 0.825 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007884/1.294, allocations: 69.55 kB / 0.825 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.295, allocations: 1.366 MB / 0.8264 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/1.297, allocations: 0.8961 MB / 0.8272 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/1.297, allocations: 50 kB / 0.8273 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.297, allocations: 401.4 kB / 0.8277 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004602/1.302, allocations: 1.942 MB / 0.8296 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004969/1.307, allocations: 2.264 MB / 0.8318 GB, free: 207 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005217/1.312, allocations: 2.097 MB / 0.8338 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/1.312, allocations: 1.562 kB / 0.8338 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01249/1.325, allocations: 4.91 MB / 0.8386 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/1.325, allocations: 7.531 kB / 0.8386 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/1.325, allocations: 4.062 kB / 0.8386 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009711/1.326, allocations: 341.7 kB / 0.8389 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/1.33, allocations: 0.7733 MB / 0.8397 GB, free: 204 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005046/1.335, allocations: 3.909 MB / 0.8435 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/1.339, allocations: 0.5471 MB / 0.8441 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007823/1.34, allocations: 102.9 kB / 0.8442 GB, free: 200.7 MB / 0.6387 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 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 269 * 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: 1 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003018/1.343, allocations: 0.9287 MB / 0.8451 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/1.344, allocations: 269.3 kB / 0.8453 GB, free: 200 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01969/1.364, allocations: 5.561 MB / 0.8507 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.172e-05/1.364, allocations: 26.34 kB / 0.8508 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-05/1.364, allocations: 3.875 kB / 0.8508 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.475e-05/1.364, allocations: 15.94 kB / 0.8508 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02772/1.392, allocations: 9.292 MB / 0.8599 GB, free: 189 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/1.392, allocations: 0 / 0.8599 GB, free: 189 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004891/1.397, allocations: 0.7332 MB / 0.8606 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/1.398, allocations: 382.4 kB / 0.8609 GB, free: 187.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005625/1.399, allocations: 75.94 kB / 0.861 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007412/1.406, allocations: 5.787 MB / 0.8667 GB, free: 181.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.406, allocations: 0 / 0.8667 GB, free: 181.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0233/1.43, allocations: 7.906 MB / 0.8744 GB, free: 173.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002693/1.432, allocations: 0.852 MB / 0.8752 GB, free: 172.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/1.434, allocations: 56 kB / 0.8753 GB, free: 172.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004426/1.438, allocations: 423.3 kB / 0.8757 GB, free: 172.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000719/1.439, allocations: 174 kB / 0.8758 GB, free: 172.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005832/1.44, allocations: 99.92 kB / 0.8759 GB, free: 172.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003871/1.444, allocations: 1.73 MB / 0.8776 GB, free: 170.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.21e-07/1.444, allocations: 0 / 0.8776 GB, free: 170.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00485/1.448, allocations: 1.018 MB / 0.8786 GB, free: 169.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02361/1.472, allocations: 9.381 MB / 0.8878 GB, free: 160.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009922/1.482, allocations: 4.757 MB / 0.8924 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.482, allocations: 4 kB / 0.8924 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005095/1.487, allocations: 2.762 MB / 0.8951 GB, free: 152.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003805/1.491, allocations: 0.627 MB / 0.8957 GB, free: 152.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04097/1.532, allocations: 25.16 MB / 0.9203 GB, free: 125.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/1.534, allocations: 2.448 MB / 0.9227 GB, free: 123.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004562/1.539, allocations: 1.107 MB / 0.9238 GB, free: 122.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/1.541, allocations: 1.444 MB / 0.9252 GB, free: 120.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/1.541, allocations: 0 / 0.9252 GB, free: 120.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/1.661, allocations: 69.03 MB / 0.9926 GB, free: 52.33 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.661, allocations: 276 kB / 0.9929 GB, free: 51.97 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/5.374, allocations: 0 / 0.9929 GB, free: 51.97 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) Environment - environmentSimulation: