Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001649/0.001648, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002078/0.002078, allocations: 189.8 kB / 16.13 MB, free: 6.707 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7227/0.7227, allocations: 132.2 MB / 422.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.7 kB / 0.5012 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4154, allocations: 80.2 MB / 0.5795 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1711/0.5866, allocations: 154.4 MB / 0.7303 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02542/0.612, allocations: 21.59 MB / 0.7514 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.6139, allocations: 51.69 kB / 0.7515 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.6153, allocations: 1.122 MB / 0.7526 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.6165, allocations: 0.8216 MB / 0.7534 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.6175, allocations: 378.2 kB / 0.7537 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.6189, allocations: 1.345 MB / 0.755 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000735/0.6196, allocations: 0.6142 MB / 0.7556 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006159/0.6202, allocations: 498.2 kB / 0.7561 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009772/0.6212, allocations: 0.9098 MB / 0.757 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.252e-05/0.6213, allocations: 40 kB / 0.757 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.6216, allocations: 83.97 kB / 0.7571 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.6218, allocations: 300.7 kB / 0.7574 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003757/0.6222, allocations: 468.8 kB / 0.7578 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009732/0.6232, allocations: 1.164 MB / 0.759 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6232, allocations: 0 / 0.759 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6232, allocations: 0 / 0.759 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.6232, allocations: 0 / 0.759 GB, free: 9.352 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002336/0.6256, allocations: 1.479 MB / 0.7604 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6256, allocations: 12.02 kB / 0.7604 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.984e-05/0.6257, allocations: 82.72 kB / 0.7605 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.626, allocations: 138.8 kB / 0.7606 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008102/0.6268, allocations: 0.6469 MB / 0.7613 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.6269, allocations: 78.62 kB / 0.7614 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.688e-05/0.627, allocations: 43.91 kB / 0.7614 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.628, allocations: 0.5184 MB / 0.7619 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.628, allocations: 4 kB / 0.7619 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.628, allocations: 23.98 kB / 0.7619 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.6281, allocations: 15.94 kB / 0.7619 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.6289, allocations: 415.7 kB / 0.7623 GB, free: 5.777 MB / 0.5919 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.003666/0.6325, allocations: 2.796 MB / 0.7651 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.6336, allocations: 455.3 kB / 0.7655 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.6342, allocations: 280 kB / 0.7658 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.6343, allocations: 16.66 kB / 0.7658 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006273/0.6349, allocations: 295 kB / 0.7661 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 4.679e-06/0.6349, allocations: 7.984 kB / 0.7661 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.003041/0.638, allocations: 1.237 MB / 0.7673 GB, free: 408 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.638, allocations: 63.41 kB / 0.7673 GB, free: 332 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.64, allocations: 1.748 MB / 0.7691 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.6401, allocations: 41.69 kB / 0.7691 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.6405, allocations: 0.5144 MB / 0.7696 GB, free: 14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.6406, allocations: 153.9 kB / 0.7697 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.6408, allocations: 90.25 kB / 0.7698 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6409, allocations: 333.9 kB / 0.7701 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.6414, allocations: 220.9 kB / 0.7704 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.6419, allocations: 332.8 kB / 0.7707 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009103/0.6428, allocations: 0.5071 MB / 0.7712 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.6428, allocations: 4 kB / 0.7712 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001669/0.6445, allocations: 0.8383 MB / 0.772 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6445, allocations: 8 kB / 0.772 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6446, allocations: 4 kB / 0.772 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.6451, allocations: 182.8 kB / 0.7722 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.6455, allocations: 99.88 kB / 0.7723 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/0.6488, allocations: 2.733 MB / 0.7749 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.6493, allocations: 91.39 kB / 0.775 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.6493, allocations: 16 kB / 0.775 GB, free: 8.188 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004798/0.6498, allocations: 388 kB / 0.7754 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.6499, allocations: 122.5 kB / 0.7755 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.6501, allocations: 139.7 kB / 0.7757 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6501, allocations: 4 kB / 0.7757 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6502, allocations: 4 kB / 0.7757 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6502, allocations: 0 / 0.7757 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.6525, allocations: 1.571 MB / 0.7772 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6525, allocations: 0 / 0.7772 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.6527, allocations: 47.91 kB / 0.7773 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.6532, allocations: 192.7 kB / 0.7774 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.6532, allocations: 16 kB / 0.7775 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/0.6572, allocations: 4.125 MB / 0.7815 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6572, allocations: 7.969 kB / 0.7815 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.659, allocations: 1.053 MB / 0.7825 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.6593, allocations: 215.7 kB / 0.7827 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.555e-05/0.6594, allocations: 16 kB / 0.7827 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.6597, allocations: 39.89 kB / 0.7828 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.6598, allocations: 51.92 kB / 0.7828 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.6599, allocations: 12 kB / 0.7828 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001256/0.6611, allocations: 1.281 MB / 0.7841 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.314e-06/0.6612, allocations: 0 / 0.7841 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000766/0.6619, allocations: 211.6 kB / 0.7843 GB, free: 14.32 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.002963/0.6649, allocations: 1.995 MB / 0.7862 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.6663, allocations: 0.724 MB / 0.7869 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6664, allocations: 0 / 0.7869 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.6673, allocations: 0.5562 MB / 0.7875 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.6683, allocations: 178.1 kB / 0.7877 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.6812, allocations: 9.407 MB / 0.7968 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.682, allocations: 1.149 MB / 0.798 GB, free: 40 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003574/0.6824, allocations: 84.84 kB / 0.798 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.6829, allocations: 399.2 kB / 0.7984 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.6829, allocations: 4 kB / 0.7984 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2674/0.9503, allocations: 20.1 MB / 0.8181 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/0.9505, allocations: 263.2 kB / 0.8183 GB, free: 217 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.133, allocations: 0 / 0.8183 GB, free: 217 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)