Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001317/0.001317, allocations: 172.7 kB / 15.95 MB, free: 208 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.252/1.252, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001628/0.001628, allocations: 270.6 kB / 291.4 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8905/0.8905, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004042, allocations: 11.33 kB / 0.598 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4746/0.6337, allocations: 142.1 MB / 0.8233 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02385/0.6576, allocations: 20.24 MB / 0.8431 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.6595, allocations: 48.59 kB / 0.8431 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.661, allocations: 1.099 MB / 0.8442 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.6625, allocations: 0.7961 MB / 0.8449 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.6636, allocations: 328 kB / 0.8453 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.6648, allocations: 1.18 MB / 0.8464 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006026/0.6654, allocations: 0.5028 MB / 0.8469 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005489/0.666, allocations: 474.1 kB / 0.8474 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000828/0.6668, allocations: 0.7784 MB / 0.8481 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.6669, allocations: 27.91 kB / 0.8481 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.6671, allocations: 70.16 kB / 0.8482 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.6674, allocations: 284.3 kB / 0.8485 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.6675, allocations: 208.8 kB / 0.8487 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007463/0.6683, allocations: 0.8975 MB / 0.8496 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6683, allocations: 3.938 kB / 0.8496 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6683, allocations: 0 / 0.8496 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.6683, allocations: 0 / 0.8496 GB, free: 15.52 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.001975/0.6703, allocations: 1.323 MB / 0.8509 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6704, allocations: 8.125 kB / 0.8509 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.6705, allocations: 140.4 kB / 0.851 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.6714, allocations: 0.5993 MB / 0.8516 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.6715, allocations: 82.88 kB / 0.8517 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.6716, allocations: 46.34 kB / 0.8517 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009311/0.6725, allocations: 0.5285 MB / 0.8522 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6726, allocations: 0 / 0.8522 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.6726, allocations: 14.44 kB / 0.8522 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.6726, allocations: 15.14 kB / 0.8522 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007874/0.6734, allocations: 431.9 kB / 0.8527 GB, free: 13.3 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.003577/0.677, allocations: 2.861 MB / 0.8555 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.678, allocations: 471.2 kB / 0.8559 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/0.6786, allocations: 299 kB / 0.8562 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.274e-05/0.6787, allocations: 6.078 kB / 0.8562 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006862/0.6794, allocations: 306.1 kB / 0.8565 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 4.559e-06/0.6794, allocations: 0 / 0.8565 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003476/0.6829, allocations: 1.26 MB / 0.8577 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.683, allocations: 64.48 kB / 0.8578 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.6854, allocations: 1.751 MB / 0.8595 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/0.6855, allocations: 36.39 kB / 0.8595 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/0.686, allocations: 0.5238 MB / 0.86 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.6862, allocations: 145.9 kB / 0.8602 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.6863, allocations: 9.75 kB / 0.8602 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6864, allocations: 328.2 kB / 0.8605 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.6869, allocations: 241.9 kB / 0.8607 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.6875, allocations: 350.2 kB / 0.8611 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.688, allocations: 256.3 kB / 0.8613 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.688, allocations: 6.5 kB / 0.8613 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001609/0.6897, allocations: 0.8814 MB / 0.8622 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.6897, allocations: 4.594 kB / 0.8622 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.6897, allocations: 3.219 kB / 0.8622 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/0.6902, allocations: 185.4 kB / 0.8624 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.6906, allocations: 109 kB / 0.8625 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.6936, allocations: 2.741 MB / 0.8651 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.6941, allocations: 91.61 kB / 0.8652 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.6941, allocations: 21.91 kB / 0.8652 GB, free: 4.41 MB / 0.5762 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 ($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 (50): * Single equations (assignments): 49 * 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 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004944/0.6946, allocations: 384.6 kB / 0.8656 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.6948, allocations: 118.7 kB / 0.8657 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.695, allocations: 142.7 kB / 0.8659 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.695, allocations: 6.812 kB / 0.8659 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.695, allocations: 5.094 kB / 0.8659 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.695, allocations: 3.984 kB / 0.8659 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.6972, allocations: 1.582 MB / 0.8674 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.6972, allocations: 7.938 kB / 0.8674 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.6975, allocations: 49.81 kB / 0.8675 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.6979, allocations: 190.8 kB / 0.8677 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.6979, allocations: 15.02 kB / 0.8677 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003879/0.7018, allocations: 4.117 MB / 0.8717 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7018, allocations: 7.938 kB / 0.8717 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.7037, allocations: 1.08 MB / 0.8728 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.704, allocations: 227.5 kB / 0.873 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.7042, allocations: 12 kB / 0.873 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.7045, allocations: 39.95 kB / 0.873 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.7047, allocations: 59.88 kB / 0.8731 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.7047, allocations: 15.98 kB / 0.8731 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001584/0.7063, allocations: 1.277 MB / 0.8743 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.433e-06/0.7063, allocations: 4 kB / 0.8743 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008553/0.7072, allocations: 215.6 kB / 0.8745 GB, free: 12.02 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.7083, allocations: 473.9 kB / 0.875 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.7098, allocations: 0.7469 MB / 0.8757 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7098, allocations: 4 kB / 0.8757 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008563/0.7107, allocations: 0.5635 MB / 0.8763 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.7117, allocations: 173.4 kB / 0.8765 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.7156, allocations: 2.671 MB / 0.8791 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000921/0.7166, allocations: 1.157 MB / 0.8802 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000354/0.717, allocations: 92.72 kB / 0.8803 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.7171, allocations: 43.42 kB / 0.8803 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.7171, allocations: 0 / 0.8803 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of Templates: time 0.01824/0.7353, allocations: 9.391 MB / 0.8895 GB, free: 12.95 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)