Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008161/0.008161, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 274.8 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9204/0.9204, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004294, allocations: 14.17 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 88.55 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4313/0.588, allocations: 152.3 MB / 0.8339 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02428/0.6124, allocations: 21.38 MB / 0.8548 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.6145, allocations: 47.5 kB / 0.8548 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.6159, allocations: 1.131 MB / 0.8559 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.6173, allocations: 0.8137 MB / 0.8567 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.6185, allocations: 375 kB / 0.8571 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.6198, allocations: 1.348 MB / 0.8584 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007171/0.6205, allocations: 0.5952 MB / 0.859 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005619/0.6211, allocations: 480.5 kB / 0.8594 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008687/0.622, allocations: 0.8783 MB / 0.8603 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.468e-05/0.622, allocations: 34.38 kB / 0.8603 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.6223, allocations: 75.48 kB / 0.8604 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.6225, allocations: 289.4 kB / 0.8607 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003477/0.6228, allocations: 473.1 kB / 0.8611 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009116/0.6238, allocations: 1.125 MB / 0.8622 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6238, allocations: 0 / 0.8622 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6238, allocations: 0 / 0.8622 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.6238, allocations: 0 / 0.8622 GB, free: 5.539 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.001933/0.6258, allocations: 1.321 MB / 0.8635 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6258, allocations: 7.719 kB / 0.8635 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.626, allocations: 134.7 kB / 0.8636 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007329/0.6267, allocations: 0.6677 MB / 0.8643 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.6268, allocations: 72.47 kB / 0.8644 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.6269, allocations: 48.69 kB / 0.8644 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008953/0.6278, allocations: 0.5253 MB / 0.8649 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.6278, allocations: 2.562 kB / 0.8649 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.6279, allocations: 18.89 kB / 0.8649 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.6279, allocations: 10.88 kB / 0.865 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008331/0.6287, allocations: 436.1 kB / 0.8654 GB, free: 3.266 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.003434/0.6322, allocations: 2.846 MB / 0.8681 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009735/0.6332, allocations: 476.4 kB / 0.8686 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/0.6337, allocations: 299.3 kB / 0.8689 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.6338, allocations: 7.312 kB / 0.8689 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005389/0.6343, allocations: 305.2 kB / 0.8692 GB, free: 284 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.375e-06/0.6343, allocations: 7.938 kB / 0.8692 GB, free: 276 kB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.00296/0.6373, allocations: 1.285 MB / 0.8704 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.6374, allocations: 60.77 kB / 0.8705 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.6391, allocations: 1.746 MB / 0.8722 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.6392, allocations: 36.67 kB / 0.8722 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.6396, allocations: 0.5163 MB / 0.8727 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.6397, allocations: 145.5 kB / 0.8729 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.6398, allocations: 56.59 kB / 0.8729 GB, free: 14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6399, allocations: 331.7 kB / 0.8733 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.6405, allocations: 233.7 kB / 0.8735 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.641, allocations: 349.1 kB / 0.8738 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.6419, allocations: 0.5383 MB / 0.8743 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6419, allocations: 0 / 0.8743 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001714/0.6437, allocations: 0.8802 MB / 0.8752 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.6437, allocations: 9.719 kB / 0.8752 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6437, allocations: 4 kB / 0.8752 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.6442, allocations: 188.8 kB / 0.8754 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.6446, allocations: 103.8 kB / 0.8755 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.6479, allocations: 2.747 MB / 0.8782 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.6484, allocations: 91.45 kB / 0.8783 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.6485, allocations: 20 kB / 0.8783 GB, free: 8.773 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.0005144/0.649, allocations: 395.2 kB / 0.8787 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6491, allocations: 114.6 kB / 0.8788 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.6494, allocations: 147.6 kB / 0.8789 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6494, allocations: 4 kB / 0.8789 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.6494, allocations: 4 kB / 0.8789 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6494, allocations: 0 / 0.8789 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.6519, allocations: 1.594 MB / 0.8805 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6519, allocations: 0 / 0.8805 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.6521, allocations: 51.91 kB / 0.8805 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/0.6526, allocations: 191.8 kB / 0.8807 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.6527, allocations: 12 kB / 0.8807 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003993/0.6567, allocations: 4.138 MB / 0.8848 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6567, allocations: 0 / 0.8848 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.6586, allocations: 1.096 MB / 0.8858 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.6589, allocations: 223.5 kB / 0.886 GB, free: 452 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.659, allocations: 8 kB / 0.886 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.6593, allocations: 47.95 kB / 0.8861 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.6595, allocations: 47.92 kB / 0.8861 GB, free: 348 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.6596, allocations: 23.92 kB / 0.8862 GB, free: 324 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001437/0.661, allocations: 1.281 MB / 0.8874 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.661, allocations: 4 kB / 0.8874 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008076/0.6618, allocations: 211.7 kB / 0.8876 GB, free: 14.82 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.001088/0.6629, allocations: 490.3 kB / 0.8881 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.6645, allocations: 0.7519 MB / 0.8888 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6645, allocations: 0 / 0.8888 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.6654, allocations: 0.5674 MB / 0.8894 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.6664, allocations: 186.9 kB / 0.8896 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.6701, allocations: 2.767 MB / 0.8923 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.6708, allocations: 1.153 MB / 0.8934 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003175/0.6712, allocations: 88.72 kB / 0.8935 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.6713, allocations: 43.42 kB / 0.8935 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6713, allocations: 0 / 0.8935 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of Templates: time 0.01773/0.689, allocations: 9.627 MB / 0.9029 GB, free: 15.39 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)