Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TestCase5,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_dev_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.001147/0.001146, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 195 kB / 16.53 MB, free: 6.664 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9538/0.9538, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 67.89 kB / 0.5055 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1421, allocations: 80.92 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.3903/0.5325, allocations: 157.2 MB / 0.738 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02414/0.5567, allocations: 21.99 MB / 0.7595 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.5589, allocations: 54.75 kB / 0.7595 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.5614, allocations: 2.158 MB / 0.7616 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.5636, allocations: 1.417 MB / 0.763 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.5651, allocations: 0.5847 MB / 0.7636 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.5672, allocations: 1.822 MB / 0.7654 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.5686, allocations: 1.095 MB / 0.7664 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.5698, allocations: 0.8686 MB / 0.7673 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.5717, allocations: 1.534 MB / 0.7688 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.5719, allocations: 88 kB / 0.7689 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.5723, allocations: 143.9 kB / 0.769 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004398/0.5727, allocations: 0.5238 MB / 0.7695 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007265/0.5734, allocations: 0.7641 MB / 0.7703 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.5751, allocations: 1.825 MB / 0.7721 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5751, allocations: 0 / 0.7721 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5751, allocations: 0 / 0.7721 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.158e-05/0.5752, allocations: 4 kB / 0.7721 GB, free: 12.63 MB / 0.5919 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.003521/0.5787, allocations: 2.288 MB / 0.7743 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.5788, allocations: 8.031 kB / 0.7743 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.5789, allocations: 106.7 kB / 0.7744 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.5792, allocations: 226.1 kB / 0.7746 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.5804, allocations: 1.007 MB / 0.7756 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.5805, allocations: 83 kB / 0.7757 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.5806, allocations: 64 kB / 0.7757 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.5819, allocations: 0.7329 MB / 0.7765 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.5819, allocations: 3.906 kB / 0.7765 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-05/0.582, allocations: 27.98 kB / 0.7765 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.582, allocations: 16 kB / 0.7765 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.5832, allocations: 0.5906 MB / 0.7771 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004477/0.5876, allocations: 3.529 MB / 0.7805 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.5892, allocations: 0.706 MB / 0.7812 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000737/0.5899, allocations: 410.3 kB / 0.7816 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-05/0.59, allocations: 8.562 kB / 0.7816 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007646/0.5908, allocations: 430.8 kB / 0.782 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.565e-06/0.5908, allocations: 0 / 0.782 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.004249/0.595, allocations: 1.804 MB / 0.7838 GB, free: 132 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.5951, allocations: 59.97 kB / 0.7838 GB, free: 60 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/0.5984, allocations: 3.308 MB / 0.7871 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.5984, allocations: 45.7 kB / 0.7871 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00071/0.5992, allocations: 0.8821 MB / 0.788 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.5994, allocations: 228.9 kB / 0.7882 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.5996, allocations: 126.7 kB / 0.7883 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5997, allocations: 337.9 kB / 0.7886 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.6004, allocations: 309.8 kB / 0.7889 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007185/0.6011, allocations: 438.4 kB / 0.7894 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.6024, allocations: 0.7192 MB / 0.7901 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.6024, allocations: 4 kB / 0.7901 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002286/0.6047, allocations: 1.208 MB / 0.7912 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.6047, allocations: 8 kB / 0.7913 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.6047, allocations: 4 kB / 0.7913 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007478/0.6055, allocations: 264.2 kB / 0.7915 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.606, allocations: 135.8 kB / 0.7916 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005072/0.6111, allocations: 4.751 MB / 0.7963 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.6117, allocations: 107.2 kB / 0.7964 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.6118, allocations: 24 kB / 0.7964 GB, free: 2.773 MB / 0.6075 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.0007915/0.6126, allocations: 0.6029 MB / 0.797 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.6129, allocations: 205.3 kB / 0.7972 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.6133, allocations: 260.5 kB / 0.7974 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6133, allocations: 8 kB / 0.7974 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.6133, allocations: 4 kB / 0.7974 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6133, allocations: 7.922 kB / 0.7975 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/0.6171, allocations: 2.327 MB / 0.7997 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.6171, allocations: 3.984 kB / 0.7997 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.6175, allocations: 71.91 kB / 0.7998 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006428/0.6181, allocations: 253.5 kB / 0.8 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.6182, allocations: 23.98 kB / 0.8001 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00488/0.6231, allocations: 4.745 MB / 0.8047 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6231, allocations: 3.984 kB / 0.8047 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.6258, allocations: 1.583 MB / 0.8062 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.6263, allocations: 306.7 kB / 0.8065 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.6264, allocations: 23.92 kB / 0.8066 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.6269, allocations: 35.97 kB / 0.8066 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.6271, allocations: 76.44 kB / 0.8067 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.6271, allocations: 23.98 kB / 0.8067 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00255/0.6297, allocations: 2.423 MB / 0.8091 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6297, allocations: 4 kB / 0.8091 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009066/0.6306, allocations: 292.3 kB / 0.8093 GB, free: 5.094 MB / 0.6231 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.003979/0.6346, allocations: 2.509 MB / 0.8118 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002379/0.637, allocations: 1.155 MB / 0.8129 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.637, allocations: 3.938 kB / 0.8129 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.6381, allocations: 0.6865 MB / 0.8136 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.6394, allocations: 276.1 kB / 0.8139 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.6598, allocations: 15.53 MB / 0.829 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.6612, allocations: 1.532 MB / 0.8305 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004464/0.6617, allocations: 146.3 kB / 0.8307 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007604/0.6624, allocations: 0.7023 MB / 0.8313 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.6624, allocations: 0 / 0.8313 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.388/1.05, allocations: 32.34 MB / 0.8629 GB, free: 214.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.96/11.01, allocations: 7.219 kB / 0.8629 GB, free: 214.9 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)