Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_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.0008819/0.0008817, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005261/0.005262, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.549/1.549, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.000327, allocations: 16.95 kB / 0.5077 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.172, allocations: 82.31 MB / 0.5881 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5288/0.7009, allocations: 155.5 MB / 0.74 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04003/0.7409, allocations: 26.14 MB / 0.7655 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004711/0.7457, allocations: 63.62 kB / 0.7656 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.7481, allocations: 0.8829 MB / 0.7664 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005908/0.7541, allocations: 1.447 MB / 0.7678 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004708/0.7588, allocations: 1.455 MB / 0.7693 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006694/0.7655, allocations: 4.778 MB / 0.7739 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004909/0.7704, allocations: 3.365 MB / 0.7772 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.7729, allocations: 1.295 MB / 0.7785 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.7756, allocations: 1.816 MB / 0.7803 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003231/0.7759, allocations: 96 kB / 0.7803 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.7781, allocations: 0.7022 MB / 0.781 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007592/0.7789, allocations: 0.7 MB / 0.7817 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.7808, allocations: 1.477 MB / 0.7832 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005891/0.7867, allocations: 5.038 MB / 0.7881 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7867, allocations: 0 / 0.7881 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7867, allocations: 0 / 0.7881 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001178/0.7868, allocations: 0 / 0.7881 GB, free: 14.7 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.00827/0.7951, allocations: 3.66 MB / 0.7916 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.7952, allocations: 16.02 kB / 0.7917 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008106/0.796, allocations: 434.1 kB / 0.7921 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/0.8098, allocations: 2.874 MB / 0.7949 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/0.8151, allocations: 2.183 MB / 0.797 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.8153, allocations: 230.2 kB / 0.7972 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005614/0.8159, allocations: 300 kB / 0.7975 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.8267, allocations: 5.01 MB / 0.8024 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.469e-05/0.8268, allocations: 3.938 kB / 0.8024 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/0.8271, allocations: 128 kB / 0.8025 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/0.8272, allocations: 75.94 kB / 0.8026 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.842, allocations: 6.193 MB / 0.8087 GB, free: 9.375 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.02809/0.8702, allocations: 13.69 MB / 0.822 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.8813, allocations: 4.34 MB / 0.8263 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005855/0.8872, allocations: 2.323 MB / 0.8285 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.8883, allocations: 0.6774 MB / 0.8292 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006921/0.8953, allocations: 2.378 MB / 0.8315 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 1.039e-05/0.8953, allocations: 0 / 0.8315 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.02017/0.9155, allocations: 6.974 MB / 0.8383 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.9157, allocations: 210 kB / 0.8385 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005245/0.921, allocations: 2.299 MB / 0.8408 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005467/0.9216, allocations: 73.7 kB / 0.8408 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001842/0.9234, allocations: 1.309 MB / 0.8421 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001419/0.9249, allocations: 0.8432 MB / 0.8429 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/0.9254, allocations: 182.1 kB / 0.8431 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9256, allocations: 301.1 kB / 0.8434 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005096/0.9307, allocations: 1.878 MB / 0.8452 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/0.9359, allocations: 2.192 MB / 0.8474 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.9466, allocations: 4.053 MB / 0.8513 GB, free: 12.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/0.9466, allocations: 112 / 0.8513 GB, free: 12.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01339/0.96, allocations: 4.671 MB / 0.8559 GB, free: 7.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.9601, allocations: 8 kB / 0.8559 GB, free: 7.902 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.9601, allocations: 4 kB / 0.8559 GB, free: 7.898 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000718/0.9609, allocations: 232.5 kB / 0.8561 GB, free: 7.668 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004106/0.965, allocations: 0.7683 MB / 0.8569 GB, free: 6.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.9695, allocations: 3.093 MB / 0.8599 GB, free: 3.672 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/0.9738, allocations: 0.5441 MB / 0.8604 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006431/0.9745, allocations: 99.92 kB / 0.8605 GB, free: 3.027 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 (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.002876/0.9774, allocations: 0.8876 MB / 0.8614 GB, free: 2.129 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/0.9784, allocations: 260.7 kB / 0.8616 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3543/1.333, allocations: 5.281 MB / 0.8668 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/1.333, allocations: 27.91 kB / 0.8668 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.333, allocations: 2.719 kB / 0.8668 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/1.333, allocations: 13.08 kB / 0.8668 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/1.35, allocations: 8.832 MB / 0.8755 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.35, allocations: 0 / 0.8755 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003644/1.354, allocations: 0.7284 MB / 0.8762 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007813/1.355, allocations: 265.2 kB / 0.8764 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/1.355, allocations: 73.44 kB / 0.8765 GB, free: 211 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/1.359, allocations: 4.805 MB / 0.8812 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.359, allocations: 0 / 0.8812 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.375, allocations: 7.545 MB / 0.8886 GB, free: 204.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.376, allocations: 0.8181 MB / 0.8894 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/1.377, allocations: 46.03 kB / 0.8894 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.38, allocations: 422.8 kB / 0.8898 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/1.38, allocations: 167.8 kB / 0.89 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/1.38, allocations: 95.8 kB / 0.8901 GB, free: 204.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002028/1.382, allocations: 1.687 MB / 0.8917 GB, free: 203.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.282e-06/1.382, allocations: 0 / 0.8917 GB, free: 203.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002848/1.385, allocations: 0.9651 MB / 0.8927 GB, free: 203.4 MB / 0.67 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.01968/1.405, allocations: 9.028 MB / 0.9015 GB, free: 200.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.417, allocations: 4.559 MB / 0.9059 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.417, allocations: 1.375 kB / 0.9059 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006527/1.424, allocations: 2.613 MB / 0.9085 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004615/1.429, allocations: 0.5893 MB / 0.9091 GB, free: 197.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06867/1.497, allocations: 31.82 MB / 0.9401 GB, free: 181.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/1.5, allocations: 2.37 MB / 0.9424 GB, free: 179.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004908/1.505, allocations: 1.094 MB / 0.9435 GB, free: 178.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/1.508, allocations: 1.37 MB / 0.9448 GB, free: 176.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.863e-06/1.508, allocations: 0 / 0.9448 GB, free: 176.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4537/1.961, allocations: 62.73 MB / 1.006 GB, free: 114.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/1.962, allocations: 296.2 kB / 1.006 GB, free: 114.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.363/6.325, allocations: 0 / 1.006 GB, free: 114.3 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)