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.007351/0.007351, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.001518/0.001518, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 287 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 91.86 kB / 0.6814 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3953, allocations: 86.97 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1515/0.5468, allocations: 156.7 MB / 0.9194 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02389/0.5707, allocations: 21.76 MB / 0.9407 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.5726, allocations: 55.69 kB / 0.9407 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.5742, allocations: 1.157 MB / 0.9418 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.5757, allocations: 0.8523 MB / 0.9427 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.5769, allocations: 445.4 kB / 0.9431 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.5785, allocations: 1.255 MB / 0.9443 GB, free: 13 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009355/0.5795, allocations: 0.6828 MB / 0.945 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008279/0.5803, allocations: 0.5529 MB / 0.9455 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.5814, allocations: 0.9216 MB / 0.9464 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.5816, allocations: 64 kB / 0.9465 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.5819, allocations: 108 kB / 0.9466 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002838/0.5822, allocations: 320.7 kB / 0.9469 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004966/0.5827, allocations: 492.8 kB / 0.9474 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.5839, allocations: 1.2 MB / 0.9485 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.584, allocations: 0 / 0.9485 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/0.584, allocations: 3.984 kB / 0.9486 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.007e-05/0.584, allocations: 4 kB / 0.9486 GB, free: 8.664 MB / 0.7169 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.002315/0.5863, allocations: 1.528 MB / 0.95 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.5864, allocations: 8.031 kB / 0.9501 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.5866, allocations: 140 kB / 0.9502 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009555/0.5876, allocations: 0.6717 MB / 0.9508 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.5877, allocations: 70.62 kB / 0.9509 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.892e-05/0.5878, allocations: 51.98 kB / 0.951 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.5887, allocations: 0.5184 MB / 0.9515 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.5888, allocations: 0 / 0.9515 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.5888, allocations: 20 kB / 0.9515 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.5888, allocations: 15.94 kB / 0.9515 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.5897, allocations: 415.7 kB / 0.9519 GB, free: 5.117 MB / 0.7169 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.003631/0.5933, allocations: 2.732 MB / 0.9546 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/0.5942, allocations: 440.9 kB / 0.955 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.5949, allocations: 297.3 kB / 0.9553 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.5949, allocations: 24.23 kB / 0.9553 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/0.5955, allocations: 267.8 kB / 0.9555 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.685e-06/0.5955, allocations: 0 / 0.9555 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.359/0.9545, allocations: 1.16 MB / 0.9567 GB, free: 192 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.9546, allocations: 57.31 kB / 0.9567 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/0.9577, allocations: 1.762 MB / 0.9585 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/0.9578, allocations: 38.08 kB / 0.9585 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/0.9582, allocations: 0.5291 MB / 0.959 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.9584, allocations: 155.7 kB / 0.9592 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.9586, allocations: 103.6 kB / 0.9593 GB, free: 191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.9586, allocations: 330.7 kB / 0.9596 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/0.9591, allocations: 211.7 kB / 0.9598 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/0.9597, allocations: 340.5 kB / 0.9601 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008711/0.9606, allocations: 0.5085 MB / 0.9606 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.9606, allocations: 5.562 kB / 0.9606 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001562/0.9622, allocations: 0.8179 MB / 0.9614 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.9622, allocations: 7.078 kB / 0.9614 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9622, allocations: 4.031 kB / 0.9614 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.9626, allocations: 133.3 kB / 0.9615 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.963, allocations: 104.7 kB / 0.9616 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.9655, allocations: 2.593 MB / 0.9642 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/0.9661, allocations: 80.02 kB / 0.9642 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.9662, allocations: 21.59 kB / 0.9643 GB, free: 187.7 MB / 0.7169 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.0005865/0.9667, allocations: 392.1 kB / 0.9646 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.9669, allocations: 124.8 kB / 0.9648 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.9671, allocations: 138 kB / 0.9649 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.9671, allocations: 7.875 kB / 0.9649 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.9671, allocations: 4.125 kB / 0.9649 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.9671, allocations: 3 kB / 0.9649 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.9694, allocations: 1.487 MB / 0.9664 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.9695, allocations: 2.172 kB / 0.9664 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.9697, allocations: 42.84 kB / 0.9664 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003947/0.9701, allocations: 167.7 kB / 0.9666 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.9702, allocations: 18.27 kB / 0.9666 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002851/0.973, allocations: 4.034 MB / 0.9705 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.973, allocations: 0 / 0.9705 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.9747, allocations: 0.9837 MB / 0.9715 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.9749, allocations: 218.5 kB / 0.9717 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/0.975, allocations: 23.75 kB / 0.9717 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.9753, allocations: 32.47 kB / 0.9717 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.9755, allocations: 51.19 kB / 0.9718 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.9755, allocations: 20.06 kB / 0.9718 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001187/0.9767, allocations: 1.284 MB / 0.9731 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9767, allocations: 0 / 0.9731 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006805/0.9774, allocations: 201.2 kB / 0.9733 GB, free: 181.6 MB / 0.7169 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.001033/0.9785, allocations: 488.8 kB / 0.9737 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.9797, allocations: 0.6636 MB / 0.9744 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9798, allocations: 4.125 kB / 0.9744 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.9804, allocations: 0.5253 MB / 0.9749 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009352/0.9814, allocations: 204.5 kB / 0.9751 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.9842, allocations: 2.401 MB / 0.9774 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.9847, allocations: 1.149 MB / 0.9785 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000254/0.985, allocations: 92.78 kB / 0.9786 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.9851, allocations: 47.42 kB / 0.9787 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.9851, allocations: 0 / 0.9787 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.01498/1, allocations: 10.16 MB / 0.9886 GB, free: 166.5 MB / 0.7169 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)