Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_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.004755/0.004755, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.001173/0.001173, allocations: 193.1 kB / 16.67 MB, free: 5.918 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8047/0.8047, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.3 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1631, allocations: 80.93 MB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6287/0.7918, allocations: 160.8 MB / 0.8211 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0393/0.8312, allocations: 26.78 MB / 0.8473 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0043/0.8355, allocations: 73.69 kB / 0.8474 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003054/0.8386, allocations: 1.011 MB / 0.8483 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006149/0.8448, allocations: 1.667 MB / 0.85 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005025/0.8499, allocations: 1.708 MB / 0.8516 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007651/0.8575, allocations: 4.827 MB / 0.8564 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007141/0.8647, allocations: 4.264 MB / 0.8605 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005029/0.8697, allocations: 2.042 MB / 0.8625 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005737/0.8755, allocations: 2.448 MB / 0.8649 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002671/0.8782, allocations: 452 kB / 0.8653 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004241/0.8824, allocations: 1.042 MB / 0.8664 GB, free: 200 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002207/0.8847, allocations: 1.172 MB / 0.8675 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004831/0.8895, allocations: 2.037 MB / 0.8695 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009758/0.8993, allocations: 5.799 MB / 0.8751 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.8993, allocations: 3.984 kB / 0.8752 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8993, allocations: 4 kB / 0.8752 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002435/0.8996, allocations: 3.938 kB / 0.8752 GB, free: 7.145 MB / 0.6387 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.01273/0.9123, allocations: 4.498 MB / 0.8796 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.9124, allocations: 9.109 kB / 0.8796 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001174/0.9135, allocations: 451.1 kB / 0.88 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/0.9272, allocations: 2.772 MB / 0.8827 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006106/0.9333, allocations: 2.292 MB / 0.8849 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00025/0.9336, allocations: 238.5 kB / 0.8852 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.9349, allocations: 316 kB / 0.8855 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.9491, allocations: 5.14 MB / 0.8905 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.9493, allocations: 7.938 kB / 0.8905 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/0.9504, allocations: 132 kB / 0.8906 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.9505, allocations: 79.94 kB / 0.8907 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.9677, allocations: 6.284 MB / 0.8968 GB, free: 0.6914 MB / 0.6544 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.03076/0.9985, allocations: 14.43 MB / 0.9109 GB, free: 1.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/1.009, allocations: 4.511 MB / 0.9153 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005292/1.015, allocations: 2.458 MB / 0.9177 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/1.016, allocations: 0.6698 MB / 0.9184 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005879/1.022, allocations: 2.465 MB / 0.9208 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 5.881e-06/1.022, allocations: 4 kB / 0.9208 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.01923/1.041, allocations: 7.531 MB / 0.9282 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.041, allocations: 206 kB / 0.9284 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00437/1.046, allocations: 2.397 MB / 0.9307 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.00047/1.046, allocations: 73.7 kB / 0.9308 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/1.048, allocations: 1.361 MB / 0.9321 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.049, allocations: 0.8971 MB / 0.933 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/1.05, allocations: 476.4 kB / 0.9334 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.05, allocations: 305.1 kB / 0.9337 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004905/1.055, allocations: 1.952 MB / 0.9356 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00519/1.06, allocations: 2.26 MB / 0.9378 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009672/1.07, allocations: 4.207 MB / 0.9419 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/1.07, allocations: 4 kB / 0.9419 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01185/1.082, allocations: 4.907 MB / 0.9467 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.082, allocations: 4 kB / 0.9467 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.082, allocations: 4 kB / 0.9467 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008888/1.083, allocations: 354 kB / 0.9471 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/1.087, allocations: 0.7722 MB / 0.9478 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005466/1.092, allocations: 4.247 MB / 0.952 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.096, allocations: 0.5245 MB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003756/1.096, allocations: 107.9 kB / 0.9526 GB, free: 6.262 MB / 0.7169 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 (270): * Single equations (assignments): 269 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002126/1.098, allocations: 0.9266 MB / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008937/1.099, allocations: 268.6 kB / 0.9538 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.112, allocations: 5.538 MB / 0.9592 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/1.112, allocations: 35.97 kB / 0.9592 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/1.112, allocations: 7.938 kB / 0.9592 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/1.112, allocations: 11.95 kB / 0.9592 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/1.132, allocations: 9.282 MB / 0.9683 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.132, allocations: 0 / 0.9683 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003652/1.136, allocations: 0.7332 MB / 0.969 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/1.137, allocations: 386.3 kB / 0.9694 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003007/1.137, allocations: 75.88 kB / 0.9694 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006575/1.144, allocations: 6.309 MB / 0.9756 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.144, allocations: 4 kB / 0.9756 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/1.161, allocations: 7.923 MB / 0.9833 GB, free: 6.152 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/1.163, allocations: 0.8015 MB / 0.9841 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007473/1.164, allocations: 59.84 kB / 0.9842 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003452/1.168, allocations: 387.4 kB / 0.9845 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004626/1.168, allocations: 181.9 kB / 0.9847 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002754/1.168, allocations: 99.92 kB / 0.9848 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003365/1.172, allocations: 1.757 MB / 0.9865 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.21e-07/1.172, allocations: 0 / 0.9865 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003551/1.175, allocations: 1.017 MB / 0.9875 GB, free: 1.824 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,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.0201/1.195, allocations: 9.394 MB / 0.9967 GB, free: 8.672 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01144/1.207, allocations: 4.781 MB / 1.001 GB, free: 3.848 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.207, allocations: 4 kB / 1.001 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006174/1.213, allocations: 2.758 MB / 1.004 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/1.217, allocations: 0.6648 MB / 1.005 GB, free: 436 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06249/1.28, allocations: 28.92 MB / 1.033 GB, free: 3.152 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/1.283, allocations: 2.456 MB / 1.035 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004404/1.287, allocations: 1.1 MB / 1.036 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002841/1.29, allocations: 1.436 MB / 1.038 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of SimCode: time 8.61e-07/1.29, allocations: 0 / 1.038 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4916/1.782, allocations: 71.23 MB / 1.107 GB, free: 306.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.23/20.01, allocations: 11.48 kB / 1.107 GB, free: 306.4 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)