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.0007029/0.0007029, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0008687/0.0008688, allocations: 177.2 kB / 16.27 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 266.8 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9124/0.9124, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003922, allocations: 13.62 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1401, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4352/0.5754, allocations: 152.3 MB / 0.8339 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02263/0.5981, allocations: 21.38 MB / 0.8548 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.5995, allocations: 46.91 kB / 0.8548 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.6009, allocations: 1.128 MB / 0.8559 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.6021, allocations: 0.8121 MB / 0.8567 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009544/0.6031, allocations: 385.9 kB / 0.8571 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.6042, allocations: 1.345 MB / 0.8584 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006413/0.6049, allocations: 0.5877 MB / 0.859 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.6054, allocations: 483.6 kB / 0.8594 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/0.6062, allocations: 0.876 MB / 0.8603 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.6063, allocations: 29.75 kB / 0.8603 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.6065, allocations: 80.25 kB / 0.8604 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.6068, allocations: 285.3 kB / 0.8607 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.6071, allocations: 472.2 kB / 0.8611 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009273/0.6081, allocations: 1.128 MB / 0.8622 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.6081, allocations: 2.906 kB / 0.8622 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6081, allocations: 4 kB / 0.8622 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.6081, allocations: 0 / 0.8622 GB, free: 5.484 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.002007/0.6101, allocations: 1.312 MB / 0.8635 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.6102, allocations: 10.84 kB / 0.8635 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.6103, allocations: 130.1 kB / 0.8636 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/0.6111, allocations: 0.6596 MB / 0.8643 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.6112, allocations: 77.5 kB / 0.8644 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.6113, allocations: 52.31 kB / 0.8644 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/0.6122, allocations: 0.5248 MB / 0.8649 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.6122, allocations: 2.969 kB / 0.8649 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.6123, allocations: 22.83 kB / 0.8649 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.6123, allocations: 14.89 kB / 0.865 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008282/0.6131, allocations: 436.4 kB / 0.8654 GB, free: 3.211 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.003302/0.6164, allocations: 2.776 MB / 0.8681 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.6173, allocations: 462.5 kB / 0.8685 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/0.618, allocations: 318.6 kB / 0.8688 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.618, allocations: 4.953 kB / 0.8688 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005309/0.6185, allocations: 294.8 kB / 0.8691 GB, free: 300 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.334e-06/0.6185, allocations: 0 / 0.8691 GB, free: 300 kB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002526/0.6211, allocations: 1.198 MB / 0.8703 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.6211, allocations: 56.75 kB / 0.8703 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.6227, allocations: 1.76 MB / 0.8721 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.6228, allocations: 40.66 kB / 0.8721 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/0.6232, allocations: 0.5194 MB / 0.8726 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.6233, allocations: 145.6 kB / 0.8727 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.6234, allocations: 64.44 kB / 0.8728 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6235, allocations: 327.8 kB / 0.8731 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.624, allocations: 231.3 kB / 0.8733 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.6246, allocations: 357.1 kB / 0.8737 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/0.6255, allocations: 0.5402 MB / 0.8742 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6255, allocations: 0 / 0.8742 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00158/0.6271, allocations: 0.849 MB / 0.875 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6271, allocations: 11.94 kB / 0.8751 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6271, allocations: 4 kB / 0.8751 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000393/0.6275, allocations: 136.9 kB / 0.8752 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.6279, allocations: 111.8 kB / 0.8753 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.6306, allocations: 2.393 MB / 0.8776 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.631, allocations: 99.44 kB / 0.8777 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.6311, allocations: 24 kB / 0.8777 GB, free: 9.258 MB / 0.5919 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 (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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004306/0.6315, allocations: 383.3 kB / 0.8781 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.6316, allocations: 114.5 kB / 0.8782 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.6318, allocations: 147.7 kB / 0.8784 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6319, allocations: 4 kB / 0.8784 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.6319, allocations: 7.875 kB / 0.8784 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6319, allocations: 7.984 kB / 0.8784 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.6342, allocations: 1.505 MB / 0.8799 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6342, allocations: 0 / 0.8799 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.6344, allocations: 47.91 kB / 0.8799 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003916/0.6348, allocations: 169.5 kB / 0.8801 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.6349, allocations: 11.98 kB / 0.8801 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003363/0.6382, allocations: 3.7 MB / 0.8837 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6383, allocations: 3.984 kB / 0.8837 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.64, allocations: 1.014 MB / 0.8847 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.6402, allocations: 219.6 kB / 0.8849 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.402e-05/0.6403, allocations: 11.98 kB / 0.8849 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.6407, allocations: 59.75 kB / 0.885 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.6408, allocations: 47.92 kB / 0.885 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.6409, allocations: 19.92 kB / 0.885 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001323/0.6422, allocations: 1.289 MB / 0.8863 GB, free: 132 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6422, allocations: 0 / 0.8863 GB, free: 132 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006955/0.6429, allocations: 199.7 kB / 0.8865 GB, free: 15.93 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,12,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.001053/0.644, allocations: 481.6 kB / 0.8869 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.6453, allocations: 0.6902 MB / 0.8876 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6453, allocations: 4.062 kB / 0.8876 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008045/0.6461, allocations: 0.5327 MB / 0.8881 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.6471, allocations: 191.7 kB / 0.8883 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.6506, allocations: 2.772 MB / 0.891 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/0.6515, allocations: 1.149 MB / 0.8921 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002698/0.6517, allocations: 88.78 kB / 0.8922 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.6519, allocations: 47.42 kB / 0.8923 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.6519, allocations: 0 / 0.8923 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.01742/0.6693, allocations: 9.227 MB / 0.9013 GB, free: 0.9961 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)