Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.Validation.VDI6007.TestCase10,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.006514/0.006514, allocations: 97.59 kB / 15.73 MB, free: 6 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.001413/0.001413, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.6 MB / 426.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4565, allocations: 81.03 MB / 0.6649 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.2007/0.6573, allocations: 157.5 MB / 0.8187 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03397/0.6913, allocations: 22.05 MB / 0.8402 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.695, allocations: 63.62 kB / 0.8403 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004025/0.6991, allocations: 2.167 MB / 0.8424 GB, free: 10.45 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00426/0.7034, allocations: 1.452 MB / 0.8438 GB, free: 8.992 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.7062, allocations: 0.6186 MB / 0.8444 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004572/0.7108, allocations: 1.937 MB / 0.8463 GB, free: 6.438 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.7134, allocations: 1.123 MB / 0.8474 GB, free: 5.297 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.7159, allocations: 0.9191 MB / 0.8483 GB, free: 4.375 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.7189, allocations: 1.588 MB / 0.8498 GB, free: 2.785 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003069/0.7192, allocations: 96 kB / 0.8499 GB, free: 2.691 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005465/0.7198, allocations: 140 kB / 0.8501 GB, free: 2.555 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000735/0.7205, allocations: 0.5587 MB / 0.8506 GB, free: 1.992 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.7217, allocations: 0.7991 MB / 0.8514 GB, free: 1.188 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.7255, allocations: 1.938 MB / 0.8533 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.7256, allocations: 0 / 0.8533 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.687e-06/0.7256, allocations: 0 / 0.8533 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.194e-05/0.7257, allocations: 0 / 0.8533 GB, free: 15.24 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.0068/0.7325, allocations: 2.445 MB / 0.8557 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.7326, allocations: 8.031 kB / 0.8557 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002366/0.7328, allocations: 110.7 kB / 0.8558 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005901/0.7334, allocations: 250.5 kB / 0.856 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.736, allocations: 1.056 MB / 0.8571 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.7362, allocations: 90.98 kB / 0.8571 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.7364, allocations: 75.94 kB / 0.8572 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.7387, allocations: 0.7767 MB / 0.858 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.7388, allocations: 7.938 kB / 0.858 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.7389, allocations: 31.94 kB / 0.858 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.739, allocations: 16 kB / 0.858 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.7413, allocations: 0.6336 MB / 0.8586 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008967/0.7503, allocations: 3.714 MB / 0.8623 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.7528, allocations: 0.7406 MB / 0.863 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.754, allocations: 438.9 kB / 0.8634 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.928e-05/0.7541, allocations: 8.562 kB / 0.8634 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009139/0.755, allocations: 456 kB / 0.8639 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=73): time 2.775e-06/0.755, allocations: 0 / 0.8639 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73): time 0.004862/0.7599, allocations: 1.839 MB / 0.8656 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.7599, allocations: 64.06 kB / 0.8657 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3935/1.153, allocations: 3.366 MB / 0.869 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001823/1.154, allocations: 44.03 kB / 0.869 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007861/1.155, allocations: 0.9294 MB / 0.8699 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/1.155, allocations: 247.7 kB / 0.8702 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/1.155, allocations: 135.4 kB / 0.8703 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.155, allocations: 343.1 kB / 0.8706 GB, free: 191 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008442/1.156, allocations: 317.5 kB / 0.8709 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008342/1.157, allocations: 470.2 kB / 0.8714 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/1.158, allocations: 0.75 MB / 0.8721 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/1.158, allocations: 1.875 kB / 0.8721 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002752/1.161, allocations: 1.261 MB / 0.8734 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.161, allocations: 7 kB / 0.8734 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.161, allocations: 3.875 kB / 0.8734 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007601/1.162, allocations: 265.3 kB / 0.8736 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/1.163, allocations: 136 kB / 0.8737 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005227/1.168, allocations: 4.756 MB / 0.8784 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.169, allocations: 99.72 kB / 0.8785 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.169, allocations: 30.62 kB / 0.8785 GB, free: 186 MB / 0.6856 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001678/1.171, allocations: 0.6117 MB / 0.8791 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/1.172, allocations: 228.9 kB / 0.8793 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007346/1.172, allocations: 256.2 kB / 0.8796 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/1.172, allocations: 7.344 kB / 0.8796 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.749e-05/1.172, allocations: 3.656 kB / 0.8796 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.172, allocations: 5.125 kB / 0.8796 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005657/1.178, allocations: 2.412 MB / 0.8819 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.178, allocations: 0 / 0.8819 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/1.179, allocations: 77.11 kB / 0.882 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009328/1.18, allocations: 255.3 kB / 0.8823 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/1.18, allocations: 22.14 kB / 0.8823 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006069/1.186, allocations: 4.734 MB / 0.8869 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.186, allocations: 6.703 kB / 0.8869 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/1.19, allocations: 1.645 MB / 0.8885 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/1.191, allocations: 332.6 kB / 0.8888 GB, free: 179 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/1.191, allocations: 18.84 kB / 0.8889 GB, free: 179 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/1.192, allocations: 37.3 kB / 0.8889 GB, free: 179 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/1.192, allocations: 79.16 kB / 0.889 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-05/1.192, allocations: 25.67 kB / 0.889 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004182/1.196, allocations: 2.462 MB / 0.8914 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.21e-07/1.196, allocations: 0 / 0.8914 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002003/1.198, allocations: 304.3 kB / 0.8917 GB, free: 177.8 MB / 0.6856 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.007071/1.206, allocations: 2.592 MB / 0.8942 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003126/1.209, allocations: 1.096 MB / 0.8953 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.209, allocations: 1.156 kB / 0.8953 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/1.21, allocations: 0.7079 MB / 0.896 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/1.213, allocations: 295.5 kB / 0.8963 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/1.233, allocations: 14.18 MB / 0.9101 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/1.234, allocations: 1.56 MB / 0.9116 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004669/1.234, allocations: 158.6 kB / 0.9118 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/1.235, allocations: 0.7414 MB / 0.9125 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of SimCode: time 8.21e-07/1.235, allocations: 0 / 0.9125 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06648/1.301, allocations: 34.19 MB / 0.9459 GB, free: 130.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/15.41, allocations: 7.766 kB / 0.9459 GB, free: 130.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)