Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.005575/0.005575, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001146/0.001146, allocations: 197.2 kB / 16.68 MB, free: 5.926 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.335/1.335, 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/package.mo): time 0.7768/0.7768, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.22 kB / 0.5808 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1441, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.5387/0.6828, allocations: 157.2 MB / 0.8127 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02649/0.7094, allocations: 21.98 MB / 0.8342 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.712, allocations: 61.72 kB / 0.8343 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.7144, allocations: 2.149 MB / 0.8363 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.7165, allocations: 1.422 MB / 0.8377 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.718, allocations: 0.5822 MB / 0.8383 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002015/0.72, allocations: 1.828 MB / 0.8401 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.7213, allocations: 1.086 MB / 0.8412 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.7225, allocations: 0.8826 MB / 0.842 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.7243, allocations: 1.535 MB / 0.8435 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.7244, allocations: 90.59 kB / 0.8436 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.7247, allocations: 133.5 kB / 0.8437 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003969/0.7252, allocations: 0.528 MB / 0.8442 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006109/0.7258, allocations: 0.7646 MB / 0.845 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.7275, allocations: 1.863 MB / 0.8468 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7275, allocations: 0 / 0.8468 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7275, allocations: 4 kB / 0.8468 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.952e-05/0.7275, allocations: 0 / 0.8468 GB, free: 4.914 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003382/0.7309, allocations: 2.285 MB / 0.849 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.731, allocations: 7.781 kB / 0.8491 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.7311, allocations: 105.7 kB / 0.8492 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.7314, allocations: 233.8 kB / 0.8494 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.7328, allocations: 1.004 MB / 0.8504 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.7329, allocations: 94.25 kB / 0.8504 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.733, allocations: 67.33 kB / 0.8505 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.7343, allocations: 0.729 MB / 0.8512 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.7344, allocations: 0 / 0.8512 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/0.7344, allocations: 24 kB / 0.8512 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.7345, allocations: 16 kB / 0.8513 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.7356, allocations: 0.6023 MB / 0.8518 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004931/0.7406, allocations: 3.494 MB / 0.8553 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.7421, allocations: 0.7138 MB / 0.856 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007322/0.7428, allocations: 406.9 kB / 0.8563 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.655e-05/0.7429, allocations: 8.562 kB / 0.8564 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007548/0.7437, allocations: 434.8 kB / 0.8568 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.735e-06/0.7437, allocations: 0 / 0.8568 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.004333/0.748, allocations: 1.8 MB / 0.8585 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.7481, allocations: 63.97 kB / 0.8586 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/0.7524, allocations: 3.304 MB / 0.8618 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.7525, allocations: 45.7 kB / 0.8619 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008367/0.7534, allocations: 0.8898 MB / 0.8627 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.7537, allocations: 228.8 kB / 0.8629 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.754, allocations: 122.7 kB / 0.8631 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002555/0.7542, allocations: 341.9 kB / 0.8634 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.7549, allocations: 309.8 kB / 0.8637 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/0.7556, allocations: 438.4 kB / 0.8641 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.757, allocations: 0.7209 MB / 0.8648 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.757, allocations: 0 / 0.8648 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002444/0.7595, allocations: 1.204 MB / 0.866 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.7595, allocations: 8 kB / 0.866 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.7595, allocations: 8 kB / 0.866 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.7603, allocations: 265.6 kB / 0.8662 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.7608, allocations: 131.8 kB / 0.8664 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/0.7661, allocations: 4.75 MB / 0.871 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009302/0.7671, allocations: 99.23 kB / 0.8711 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.7672, allocations: 28 kB / 0.8711 GB, free: 12.14 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00119/0.7684, allocations: 0.6029 MB / 0.8717 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005193/0.7689, allocations: 205.4 kB / 0.8719 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007906/0.7697, allocations: 256.5 kB / 0.8722 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.7698, allocations: 8.047 kB / 0.8722 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/0.7698, allocations: 3.984 kB / 0.8722 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.7698, allocations: 11.92 kB / 0.8722 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004892/0.7747, allocations: 2.327 MB / 0.8745 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.7747, allocations: 0 / 0.8745 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.7751, allocations: 75.89 kB / 0.8745 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000633/0.7757, allocations: 252.2 kB / 0.8748 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.7758, allocations: 15.98 kB / 0.8748 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005127/0.7809, allocations: 4.759 MB / 0.8794 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7809, allocations: 4.062 kB / 0.8794 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/0.7839, allocations: 1.572 MB / 0.881 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/0.7845, allocations: 314.3 kB / 0.8813 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.7848, allocations: 27.92 kB / 0.8813 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.7853, allocations: 39.91 kB / 0.8813 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.7855, allocations: 72.45 kB / 0.8814 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.237e-05/0.7856, allocations: 27.98 kB / 0.8814 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003181/0.7888, allocations: 2.427 MB / 0.8838 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7888, allocations: 0 / 0.8838 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001142/0.7899, allocations: 284.3 kB / 0.8841 GB, free: 14.47 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004524/0.7945, allocations: 2.508 MB / 0.8865 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.7966, allocations: 1.061 MB / 0.8876 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7967, allocations: 0.5625 kB / 0.8876 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.7978, allocations: 0.6859 MB / 0.8882 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.8003, allocations: 291.2 kB / 0.8885 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02568/0.826, allocations: 13.71 MB / 0.9019 GB, free: 12.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/0.8278, allocations: 1.532 MB / 0.9034 GB, free: 10.53 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006153/0.8284, allocations: 142.4 kB / 0.9035 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/0.8298, allocations: 0.7062 MB / 0.9042 GB, free: 9.68 MB / 0.67 GB Notification: Performance of SimCode: time 1.062e-06/0.8299, allocations: 4 kB / 0.9042 GB, free: 9.676 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09717/0.9271, allocations: 33.44 MB / 0.9369 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.89, allocations: 6.594 kB / 0.9369 GB, free: 8.539 MB / 0.7012 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)