Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_dev_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.001135/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001356/0.001356, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9653/0.9653, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.64 kB / 0.5048 GB, free: 5.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1823, allocations: 80.92 MB / 0.5838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4355/0.6178, allocations: 154.4 MB / 0.7346 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02894/0.6468, allocations: 21.59 MB / 0.7557 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.6492, allocations: 43.34 kB / 0.7557 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.6511, allocations: 1.134 MB / 0.7569 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.6527, allocations: 0.8163 MB / 0.7576 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.654, allocations: 375.1 kB / 0.758 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001711/0.6558, allocations: 1.352 MB / 0.7593 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.6568, allocations: 0.6166 MB / 0.7599 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00087/0.6577, allocations: 498.2 kB / 0.7604 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.6589, allocations: 0.9098 MB / 0.7613 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.6591, allocations: 39.94 kB / 0.7613 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.6595, allocations: 79.98 kB / 0.7614 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.6598, allocations: 300.8 kB / 0.7617 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005413/0.6603, allocations: 464.8 kB / 0.7621 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.6615, allocations: 1.16 MB / 0.7633 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6615, allocations: 0 / 0.7633 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6615, allocations: 0 / 0.7633 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.32e-05/0.6616, allocations: 4 kB / 0.7633 GB, free: 5.523 MB / 0.5762 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.002556/0.6641, allocations: 1.475 MB / 0.7647 GB, free: 4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.6642, allocations: 8.031 kB / 0.7647 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.6643, allocations: 86.7 kB / 0.7648 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.6645, allocations: 135.2 kB / 0.7649 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.6654, allocations: 0.6546 MB / 0.7656 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.6655, allocations: 86.61 kB / 0.7657 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.6656, allocations: 43.91 kB / 0.7657 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000965/0.6666, allocations: 0.5223 MB / 0.7662 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.6666, allocations: 8 kB / 0.7662 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/0.6666, allocations: 16 kB / 0.7662 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.6667, allocations: 12 kB / 0.7662 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008486/0.6675, allocations: 415.7 kB / 0.7666 GB, free: 1.945 MB / 0.5762 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.003681/0.6712, allocations: 2.792 MB / 0.7694 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.6723, allocations: 453 kB / 0.7698 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.6728, allocations: 281.3 kB / 0.7701 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.6729, allocations: 12.59 kB / 0.7701 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005775/0.6735, allocations: 306 kB / 0.7704 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 2.405e-06/0.6735, allocations: 0 / 0.7704 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.003001/0.6765, allocations: 1.235 MB / 0.7716 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.6765, allocations: 59.39 kB / 0.7716 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.6785, allocations: 1.755 MB / 0.7733 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.6786, allocations: 37.7 kB / 0.7734 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.6791, allocations: 0.5141 MB / 0.7739 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.6792, allocations: 149.8 kB / 0.774 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.6794, allocations: 98.25 kB / 0.7741 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6795, allocations: 334 kB / 0.7744 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/0.68, allocations: 217 kB / 0.7746 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.6806, allocations: 324.9 kB / 0.775 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009212/0.6815, allocations: 0.5112 MB / 0.7755 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6815, allocations: 4 kB / 0.7755 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001762/0.6833, allocations: 0.845 MB / 0.7763 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.6833, allocations: 8 kB / 0.7763 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.6833, allocations: 7.938 kB / 0.7763 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.6839, allocations: 184.9 kB / 0.7765 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.6843, allocations: 91.88 kB / 0.7766 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/0.6878, allocations: 2.743 MB / 0.7792 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.6883, allocations: 83.38 kB / 0.7793 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.6884, allocations: 20 kB / 0.7793 GB, free: 4.355 MB / 0.5919 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.0005482/0.6889, allocations: 387.4 kB / 0.7797 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.6891, allocations: 114.5 kB / 0.7798 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.6894, allocations: 139.7 kB / 0.78 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6894, allocations: 7.938 kB / 0.78 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.6894, allocations: 4 kB / 0.78 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6894, allocations: 3.984 kB / 0.78 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.6919, allocations: 1.57 MB / 0.7815 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.692, allocations: 0 / 0.7815 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.6922, allocations: 47.89 kB / 0.7815 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004738/0.6927, allocations: 185.6 kB / 0.7817 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.6927, allocations: 23.98 kB / 0.7817 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/0.6973, allocations: 4.118 MB / 0.7858 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6973, allocations: 0 / 0.7858 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.6992, allocations: 1.068 MB / 0.7868 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.6995, allocations: 211.6 kB / 0.787 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.6996, allocations: 15.98 kB / 0.787 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.7, allocations: 35.88 kB / 0.7871 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.7001, allocations: 55.86 kB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.7002, allocations: 15.98 kB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001357/0.7015, allocations: 1.284 MB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.403e-06/0.7015, allocations: 0 / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008021/0.7023, allocations: 211.6 kB / 0.7886 GB, free: 10.48 MB / 0.6075 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.003118/0.7055, allocations: 1.986 MB / 0.7905 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.7071, allocations: 0.7243 MB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7072, allocations: 0.6875 kB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009051/0.7081, allocations: 0.5478 MB / 0.7918 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.7092, allocations: 189.1 kB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.7231, allocations: 9.414 MB / 0.8011 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007669/0.7239, allocations: 1.153 MB / 0.8023 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003035/0.7242, allocations: 84.73 kB / 0.8024 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.7247, allocations: 407.2 kB / 0.8027 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.7247, allocations: 8 kB / 0.8027 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03896/0.7637, allocations: 20.1 MB / 0.8224 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.7639, allocations: 277.8 kB / 0.8226 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.895, allocations: 4 kB / 0.8226 GB, free: 7.535 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)