Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009877, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001064/0.001064, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001639/0.001639, allocations: 263 kB / 291.3 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8947/0.8947, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 19.66 kB / 0.598 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4113/0.5521, allocations: 142.1 MB / 0.8233 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02212/0.5743, allocations: 20.25 MB / 0.8431 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.5756, allocations: 49.25 kB / 0.8431 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.5769, allocations: 1.098 MB / 0.8442 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.5779, allocations: 0.7822 MB / 0.8449 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.5789, allocations: 338.7 kB / 0.8453 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.58, allocations: 1.179 MB / 0.8464 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006133/0.5806, allocations: 0.5029 MB / 0.8469 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.5811, allocations: 478.9 kB / 0.8474 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008232/0.582, allocations: 0.7745 MB / 0.8481 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-05/0.5821, allocations: 26.44 kB / 0.8481 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.5823, allocations: 64.48 kB / 0.8482 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.5826, allocations: 289.1 kB / 0.8485 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.5828, allocations: 207 kB / 0.8487 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007373/0.5835, allocations: 0.8912 MB / 0.8495 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5835, allocations: 4 kB / 0.8495 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5835, allocations: 2.469 kB / 0.8496 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.5835, allocations: 0 / 0.8496 GB, free: 15.64 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.001775/0.5853, allocations: 1.333 MB / 0.8509 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.5854, allocations: 7.906 kB / 0.8509 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.5855, allocations: 133.3 kB / 0.851 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006886/0.5862, allocations: 0.6059 MB / 0.8516 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.5863, allocations: 80.41 kB / 0.8517 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.5864, allocations: 49.34 kB / 0.8517 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.5873, allocations: 0.5214 MB / 0.8522 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5873, allocations: 6.562 kB / 0.8522 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.5873, allocations: 18.61 kB / 0.8522 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.5873, allocations: 11.59 kB / 0.8522 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/0.5881, allocations: 427.6 kB / 0.8527 GB, free: 13.43 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.002963/0.5911, allocations: 2.783 MB / 0.8554 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/0.5919, allocations: 464 kB / 0.8558 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.5925, allocations: 313.1 kB / 0.8561 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.5925, allocations: 4.922 kB / 0.8561 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004845/0.593, allocations: 291.8 kB / 0.8564 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 1.933e-06/0.593, allocations: 2.938 kB / 0.8564 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002259/0.5953, allocations: 1.176 MB / 0.8575 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.5953, allocations: 60.86 kB / 0.8576 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.5969, allocations: 1.763 MB / 0.8593 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5969, allocations: 38.39 kB / 0.8594 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.5973, allocations: 0.519 MB / 0.8599 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5974, allocations: 150.1 kB / 0.86 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.5974, allocations: 10.53 kB / 0.86 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.5975, allocations: 338.8 kB / 0.8603 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/0.598, allocations: 231.5 kB / 0.8606 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.5985, allocations: 348.9 kB / 0.8609 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.5989, allocations: 257 kB / 0.8611 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5989, allocations: 3 kB / 0.8611 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001323/0.6003, allocations: 0.8382 MB / 0.862 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6003, allocations: 9.094 kB / 0.862 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.6003, allocations: 2.938 kB / 0.862 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.6006, allocations: 142 kB / 0.8621 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.601, allocations: 113.2 kB / 0.8622 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.6034, allocations: 2.391 MB / 0.8646 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.6038, allocations: 102.6 kB / 0.8647 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.6038, allocations: 20.66 kB / 0.8647 GB, free: 4.867 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000398/0.6042, allocations: 381 kB / 0.865 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.6043, allocations: 114.6 kB / 0.8651 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.6045, allocations: 138.8 kB / 0.8653 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6045, allocations: 2.906 kB / 0.8653 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.6045, allocations: 3.062 kB / 0.8653 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6045, allocations: 11.92 kB / 0.8653 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.6065, allocations: 1.511 MB / 0.8668 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6065, allocations: 0 / 0.8668 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.6067, allocations: 47.47 kB / 0.8668 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/0.6071, allocations: 170.5 kB / 0.867 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.6071, allocations: 14.95 kB / 0.867 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/0.6102, allocations: 3.694 MB / 0.8706 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.6102, allocations: 0 / 0.8706 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.6117, allocations: 1.014 MB / 0.8716 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.6119, allocations: 215.9 kB / 0.8718 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/0.612, allocations: 15.98 kB / 0.8718 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.6124, allocations: 47.81 kB / 0.8719 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.6125, allocations: 59.84 kB / 0.8719 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.6125, allocations: 16 kB / 0.8719 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001279/0.6138, allocations: 1.289 MB / 0.8732 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6138, allocations: 0 / 0.8732 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006837/0.6145, allocations: 191.8 kB / 0.8734 GB, free: 13.37 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.6156, allocations: 0.4885 MB / 0.8739 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.6168, allocations: 0.6821 MB / 0.8745 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6169, allocations: 0 / 0.8745 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007851/0.6176, allocations: 0.5369 MB / 0.875 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009107/0.6186, allocations: 186.6 kB / 0.8752 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.6223, allocations: 2.663 MB / 0.8778 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000969/0.6233, allocations: 1.146 MB / 0.8789 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003052/0.6236, allocations: 96.78 kB / 0.879 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.6237, allocations: 47.42 kB / 0.8791 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.6237, allocations: 0 / 0.8791 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of Templates: time 0.0172/0.6409, allocations: 8.989 MB / 0.8879 GB, free: 14.77 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)