Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",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.0007653/0.0007653, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005512/0.005512, allocations: 171.6 kB / 16.27 MB, free: 6.648 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.295/1.295, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7747/0.7747, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 8.562 kB / 0.5041 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4497, allocations: 81.57 MB / 0.5837 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.186/0.6357, allocations: 157.1 MB / 0.7372 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03629/0.6721, allocations: 26.56 MB / 0.7631 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003978/0.6761, allocations: 71.62 kB / 0.7632 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.6784, allocations: 0.9411 MB / 0.7641 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005411/0.6839, allocations: 1.585 MB / 0.7657 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.6883, allocations: 1.599 MB / 0.7672 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007399/0.6957, allocations: 5.455 MB / 0.7726 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005202/0.701, allocations: 3.689 MB / 0.7762 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.7035, allocations: 1.446 MB / 0.7776 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00309/0.7067, allocations: 2.03 MB / 0.7796 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000527/0.7072, allocations: 124 kB / 0.7797 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.7094, allocations: 0.714 MB / 0.7804 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008533/0.7103, allocations: 0.7973 MB / 0.7811 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.7126, allocations: 1.686 MB / 0.7828 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006575/0.7192, allocations: 5.688 MB / 0.7883 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7192, allocations: 0 / 0.7883 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.126e-06/0.7192, allocations: 0 / 0.7883 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002068/0.7195, allocations: 0 / 0.7883 GB, free: 14.2 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.00959/0.7291, allocations: 4.022 MB / 0.7923 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.7291, allocations: 12.03 kB / 0.7923 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001324/0.7305, allocations: 476.6 kB / 0.7927 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/0.7449, allocations: 2.916 MB / 0.7956 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005191/0.7501, allocations: 2.377 MB / 0.7979 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00025/0.7504, allocations: 258.9 kB / 0.7982 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008796/0.7513, allocations: 336 kB / 0.7985 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.7639, allocations: 5.436 MB / 0.8038 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.372e-05/0.764, allocations: 3.938 kB / 0.8038 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004001/0.7644, allocations: 140 kB / 0.8039 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-05/0.7645, allocations: 88 kB / 0.804 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.7813, allocations: 6.61 MB / 0.8105 GB, free: 7.301 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.3097/1.091, allocations: 15.75 MB / 0.8258 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009256/1.1, allocations: 4.089 MB / 0.8298 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005464/1.106, allocations: 2.658 MB / 0.8324 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008547/1.107, allocations: 0.6724 MB / 0.8331 GB, free: 205 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00566/1.112, allocations: 2.583 MB / 0.8356 GB, free: 204 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 5.25e-06/1.112, allocations: 1.125 kB / 0.8356 GB, free: 204 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.02126/1.134, allocations: 8.433 MB / 0.8438 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/1.134, allocations: 217.5 kB / 0.8441 GB, free: 199.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003287/1.137, allocations: 2.506 MB / 0.8465 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004253/1.138, allocations: 81.34 kB / 0.8466 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009722/1.139, allocations: 1.44 MB / 0.848 GB, free: 197 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008441/1.139, allocations: 0.9559 MB / 0.8489 GB, free: 196.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/1.14, allocations: 199.6 kB / 0.8491 GB, free: 196 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/1.14, allocations: 306.8 kB / 0.8494 GB, free: 195.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004273/1.144, allocations: 2.045 MB / 0.8514 GB, free: 194.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004573/1.149, allocations: 2.374 MB / 0.8537 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009492/1.158, allocations: 4.416 MB / 0.858 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/1.158, allocations: 4 kB / 0.858 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01166/1.17, allocations: 5.282 MB / 0.8632 GB, free: 184.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/1.17, allocations: 10.34 kB / 0.8632 GB, free: 184.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.17, allocations: 8 kB / 0.8632 GB, free: 184.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/1.171, allocations: 0.5467 MB / 0.8637 GB, free: 184.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003786/1.175, allocations: 0.7947 MB / 0.8645 GB, free: 183.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006251/1.181, allocations: 5.29 MB / 0.8697 GB, free: 178.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004084/1.185, allocations: 0.5712 MB / 0.8702 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007015/1.186, allocations: 107.9 kB / 0.8703 GB, free: 177.5 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 ($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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003002/1.189, allocations: 0.9685 MB / 0.8713 GB, free: 176.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.19, allocations: 296.4 kB / 0.8716 GB, free: 176.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/1.204, allocations: 5.901 MB / 0.8773 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/1.204, allocations: 28 kB / 0.8774 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/1.204, allocations: 4 kB / 0.8774 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.272e-05/1.204, allocations: 19.94 kB / 0.8774 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.224, allocations: 9.911 MB / 0.8871 GB, free: 160.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.224, allocations: 7.984 kB / 0.8871 GB, free: 160.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003769/1.227, allocations: 0.7449 MB / 0.8878 GB, free: 159.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/1.229, allocations: 0.5339 MB / 0.8883 GB, free: 158.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005321/1.229, allocations: 75.94 kB / 0.8884 GB, free: 158.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006333/1.236, allocations: 6.962 MB / 0.8952 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.236, allocations: 0 / 0.8952 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/1.252, allocations: 8.411 MB / 0.9034 GB, free: 143.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/1.254, allocations: 0.887 MB / 0.9043 GB, free: 142.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008965/1.255, allocations: 55.98 kB / 0.9043 GB, free: 142.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003358/1.259, allocations: 447.2 kB / 0.9048 GB, free: 141.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005677/1.259, allocations: 193.8 kB / 0.9049 GB, free: 141.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003794/1.26, allocations: 99.92 kB / 0.905 GB, free: 141.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002447/1.262, allocations: 1.826 MB / 0.9068 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.262, allocations: 0 / 0.9068 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003165/1.265, allocations: 1.099 MB / 0.9079 GB, free: 138.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.0181/1.283, allocations: 9.904 MB / 0.9176 GB, free: 129 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.294, allocations: 5.077 MB / 0.9225 GB, free: 123.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.294, allocations: 4.688 kB / 0.9225 GB, free: 123.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005672/1.3, allocations: 2.955 MB / 0.9254 GB, free: 120.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003873/1.304, allocations: 0.664 MB / 0.9261 GB, free: 120.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0614/1.365, allocations: 35.95 MB / 0.9612 GB, free: 82.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002385/1.367, allocations: 2.559 MB / 0.9637 GB, free: 79.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00458/1.372, allocations: 1.124 MB / 0.9648 GB, free: 78.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002432/1.374, allocations: 1.514 MB / 0.9662 GB, free: 77.35 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/1.374, allocations: 0 / 0.9662 GB, free: 77.35 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.605/2.979, allocations: 70.96 MB / 1.036 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/2.98, allocations: 287.8 kB / 1.036 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.338/7.318, allocations: 2.844 kB / 1.036 GB, free: 6.656 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)