Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.0007328/0.0007328, allocations: 97.72 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.004586/0.004586, allocations: 170 kB / 16.27 MB, free: 6.652 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7359/0.7359, allocations: 132.3 MB / 423.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 8 kB / 0.5041 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.449, allocations: 81.58 MB / 0.5837 GB, free: 3.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1955/0.6445, allocations: 155.6 MB / 0.7357 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03628/0.6808, allocations: 26.13 MB / 0.7612 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.6837, allocations: 63.62 kB / 0.7613 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.6862, allocations: 0.8791 MB / 0.7621 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.6913, allocations: 1.454 MB / 0.7635 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00469/0.696, allocations: 1.448 MB / 0.7649 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006237/0.7022, allocations: 4.784 MB / 0.7696 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005223/0.7075, allocations: 3.359 MB / 0.7729 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.7099, allocations: 1.299 MB / 0.7742 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.7128, allocations: 1.812 MB / 0.7759 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009413/0.7137, allocations: 96 kB / 0.776 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.7166, allocations: 0.6983 MB / 0.7767 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001407/0.718, allocations: 0.6999 MB / 0.7774 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002424/0.7205, allocations: 1.48 MB / 0.7788 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005352/0.7258, allocations: 5.03 MB / 0.7838 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7259, allocations: 4 kB / 0.7838 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.083e-06/0.7259, allocations: 0 / 0.7838 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001199/0.726, allocations: 0 / 0.7838 GB, free: 2.793 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.007697/0.7337, allocations: 3.656 MB / 0.7873 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.7338, allocations: 16.03 kB / 0.7873 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007827/0.7346, allocations: 442.1 kB / 0.7878 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/0.7484, allocations: 2.858 MB / 0.7906 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004329/0.7528, allocations: 2.202 MB / 0.7927 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.753, allocations: 234.2 kB / 0.7929 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006679/0.7537, allocations: 300 kB / 0.7932 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.7659, allocations: 5.002 MB / 0.7981 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.766, allocations: 3.906 kB / 0.7981 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/0.7664, allocations: 131.9 kB / 0.7982 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/0.7664, allocations: 76 kB / 0.7983 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.7822, allocations: 6.197 MB / 0.8044 GB, free: 13.46 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.3472/1.13, allocations: 13.68 MB / 0.8177 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/1.141, allocations: 4.345 MB / 0.822 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005677/1.147, allocations: 2.323 MB / 0.8242 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008267/1.148, allocations: 0.6703 MB / 0.8249 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005408/1.153, allocations: 2.378 MB / 0.8272 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 5.37e-06/1.153, allocations: 0 / 0.8272 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.01677/1.17, allocations: 6.977 MB / 0.834 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.17, allocations: 208 kB / 0.8342 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/1.174, allocations: 2.304 MB / 0.8365 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004559/1.174, allocations: 75.58 kB / 0.8365 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009848/1.175, allocations: 1.304 MB / 0.8378 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008209/1.176, allocations: 0.8497 MB / 0.8386 GB, free: 204 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/1.176, allocations: 177 kB / 0.8388 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.659e-05/1.176, allocations: 301.1 kB / 0.8391 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004491/1.181, allocations: 1.882 MB / 0.8409 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004458/1.185, allocations: 2.186 MB / 0.8431 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008635/1.194, allocations: 4.051 MB / 0.847 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.194, allocations: 0 / 0.847 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01028/1.204, allocations: 4.67 MB / 0.8516 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/1.204, allocations: 10.17 kB / 0.8516 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.204, allocations: 3.625 kB / 0.8516 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/1.205, allocations: 235.2 kB / 0.8518 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/1.209, allocations: 0.7675 MB / 0.8526 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/1.212, allocations: 3.092 MB / 0.8556 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/1.216, allocations: 0.5363 MB / 0.8561 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004267/1.216, allocations: 107.9 kB / 0.8562 GB, free: 192.6 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 (264): * Single equations (assignments): 263 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001922/1.218, allocations: 0.8848 MB / 0.8571 GB, free: 191.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/1.219, allocations: 260.8 kB / 0.8573 GB, free: 191.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.23, allocations: 5.285 MB / 0.8625 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/1.23, allocations: 28 kB / 0.8625 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.23, allocations: 8 kB / 0.8625 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/1.23, allocations: 12.52 kB / 0.8625 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/1.246, allocations: 8.841 MB / 0.8712 GB, free: 177.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.246, allocations: 4 kB / 0.8712 GB, free: 177.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/1.25, allocations: 0.7215 MB / 0.8719 GB, free: 176.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007538/1.25, allocations: 272 kB / 0.8721 GB, free: 176.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002958/1.251, allocations: 71.94 kB / 0.8722 GB, free: 176.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/1.254, allocations: 4.801 MB / 0.8769 GB, free: 171 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.254, allocations: 0 / 0.8769 GB, free: 171 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01543/1.27, allocations: 7.549 MB / 0.8843 GB, free: 163.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/1.272, allocations: 0.8171 MB / 0.8851 GB, free: 162.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006075/1.273, allocations: 48 kB / 0.8851 GB, free: 162.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003163/1.276, allocations: 419.3 kB / 0.8855 GB, free: 162.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003798/1.276, allocations: 165.9 kB / 0.8857 GB, free: 161.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/1.276, allocations: 104.9 kB / 0.8858 GB, free: 161.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002102/1.278, allocations: 1.685 MB / 0.8874 GB, free: 160.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.278, allocations: 4 kB / 0.8874 GB, free: 160.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002912/1.281, allocations: 0.9544 MB / 0.8884 GB, free: 159.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * 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 {(2,16,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.0174/1.299, allocations: 9.018 MB / 0.8972 GB, free: 150.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01038/1.309, allocations: 4.558 MB / 0.9016 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.309, allocations: 128 / 0.9016 GB, free: 145.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005619/1.315, allocations: 2.615 MB / 0.9042 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/1.318, allocations: 0.5938 MB / 0.9047 GB, free: 142.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05531/1.373, allocations: 31.82 MB / 0.9358 GB, free: 109.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/1.375, allocations: 2.373 MB / 0.9381 GB, free: 106.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004171/1.379, allocations: 1.098 MB / 0.9392 GB, free: 105.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/1.381, allocations: 1.358 MB / 0.9405 GB, free: 104.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.161e-05/1.381, allocations: 0 / 0.9405 GB, free: 104.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08668/1.468, allocations: 62.73 MB / 1.002 GB, free: 42.21 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/1.468, allocations: 287.1 kB / 1.002 GB, free: 41.83 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.434/5.903, allocations: 0 / 1.002 GB, free: 41.83 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)