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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.891/0.891, allocations: 143.4 MB / 159.2 MB, free: 4.879 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 183.3 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 447.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009916, allocations: 103.8 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 276 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 72.17 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3385, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.513/0.8516, allocations: 154.4 MB / 0.9187 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02549/0.8771, allocations: 21.55 MB / 0.9398 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.8802, allocations: 44.81 kB / 0.9398 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.882, allocations: 1.133 MB / 0.9409 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.8837, allocations: 0.8156 MB / 0.9417 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.8848, allocations: 379.3 kB / 0.9421 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.8862, allocations: 1.349 MB / 0.9434 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006244/0.8868, allocations: 0.612 MB / 0.944 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005667/0.8874, allocations: 0.4936 MB / 0.9445 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008366/0.8882, allocations: 0.9042 MB / 0.9454 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-05/0.8883, allocations: 41.12 kB / 0.9454 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.8886, allocations: 85.14 kB / 0.9455 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.8888, allocations: 306.9 kB / 0.9458 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.8892, allocations: 470.8 kB / 0.9462 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007551/0.8899, allocations: 1.15 MB / 0.9473 GB, free: 476 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8899, allocations: 0 / 0.9473 GB, free: 476 kB / 0.5573 GB Notification: Performance of FrontEnd: time 9.32e-07/0.8899, allocations: 0 / 0.9473 GB, free: 476 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.89, allocations: 0 / 0.9473 GB, free: 476 kB / 0.5573 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.002035/0.892, allocations: 1.482 MB / 0.9488 GB, free: 15.59 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.892, allocations: 10.19 kB / 0.9488 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.8922, allocations: 131.8 kB / 0.9489 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000761/0.893, allocations: 0.6531 MB / 0.9496 GB, free: 15.13 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.8931, allocations: 77.33 kB / 0.9496 GB, free: 15.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.8932, allocations: 50.25 kB / 0.9497 GB, free: 15.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/0.894, allocations: 0.5158 MB / 0.9502 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.894, allocations: 4.953 kB / 0.9502 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.8941, allocations: 13.44 kB / 0.9502 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.8941, allocations: 13.62 kB / 0.9502 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.8948, allocations: 411.1 kB / 0.9506 GB, free: 15.02 MB / 0.573 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.003255/0.8981, allocations: 2.802 MB / 0.9533 GB, free: 13.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009166/0.899, allocations: 460.4 kB / 0.9538 GB, free: 13.46 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.8995, allocations: 284 kB / 0.9541 GB, free: 13.46 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.8996, allocations: 9.562 kB / 0.9541 GB, free: 13.45 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005042/0.9001, allocations: 302.7 kB / 0.9544 GB, free: 13.39 MB / 0.573 GB Notification: Performance of pre-optimization done (n=45): time 2.545e-06/0.9001, allocations: 0 / 0.9544 GB, free: 13.39 MB / 0.573 GB Notification: Performance of matching and sorting (n=45): time 0.002773/0.9029, allocations: 1.234 MB / 0.9556 GB, free: 13.06 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.9029, allocations: 57.91 kB / 0.9556 GB, free: 13 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.9045, allocations: 1.756 MB / 0.9573 GB, free: 12.84 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.9046, allocations: 38.77 kB / 0.9574 GB, free: 12.81 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.905, allocations: 0.5152 MB / 0.9579 GB, free: 12.67 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.9051, allocations: 146.2 kB / 0.958 GB, free: 12.58 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.9053, allocations: 102.1 kB / 0.9581 GB, free: 12.56 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9054, allocations: 328.1 kB / 0.9584 GB, free: 12.25 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.9059, allocations: 220.8 kB / 0.9586 GB, free: 12.25 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.9064, allocations: 333.8 kB / 0.9589 GB, free: 12.13 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008229/0.9072, allocations: 0.5133 MB / 0.9594 GB, free: 12.02 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.9072, allocations: 0 / 0.9594 GB, free: 12.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001572/0.9088, allocations: 0.8456 MB / 0.9603 GB, free: 11.89 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.9088, allocations: 10.75 kB / 0.9603 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9089, allocations: 3.375 kB / 0.9603 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005465/0.9094, allocations: 187.8 kB / 0.9605 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.9098, allocations: 95.91 kB / 0.9606 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.9129, allocations: 2.738 MB / 0.9632 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.9134, allocations: 82.83 kB / 0.9633 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.9135, allocations: 21.94 kB / 0.9633 GB, free: 10.45 MB / 0.573 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.0005671/0.9141, allocations: 381.3 kB / 0.9637 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.9142, allocations: 111.2 kB / 0.9638 GB, free: 10.28 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.9145, allocations: 147.3 kB / 0.9639 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.9145, allocations: 4.406 kB / 0.9639 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/0.9145, allocations: 3.594 kB / 0.9639 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.9145, allocations: 2.25 kB / 0.964 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.9171, allocations: 1.57 MB / 0.9655 GB, free: 9.672 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.9171, allocations: 3.938 kB / 0.9655 GB, free: 9.668 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.9174, allocations: 43.55 kB / 0.9655 GB, free: 9.668 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.9179, allocations: 196.4 kB / 0.9657 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.9179, allocations: 16.47 kB / 0.9657 GB, free: 9.598 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.9218, allocations: 4.133 MB / 0.9698 GB, free: 6.18 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9219, allocations: 0 / 0.9698 GB, free: 6.18 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/0.9363, allocations: 9.772 MB / 0.9793 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.9367, allocations: 218.6 kB / 0.9795 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.492e-05/0.9368, allocations: 16.31 kB / 0.9795 GB, free: 15.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.9371, allocations: 37.73 kB / 0.9796 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.9373, allocations: 54.14 kB / 0.9796 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.9374, allocations: 14.73 kB / 0.9796 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001445/0.9389, allocations: 1.282 MB / 0.9809 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9389, allocations: 0 / 0.9809 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001236/0.9401, allocations: 309.1 kB / 0.9812 GB, free: 14.47 MB / 0.5886 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.001122/0.9412, allocations: 488.1 kB / 0.9816 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.9428, allocations: 0.7073 MB / 0.9823 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9429, allocations: 0 / 0.9823 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.9438, allocations: 0.559 MB / 0.9829 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.9449, allocations: 184.4 kB / 0.9831 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.9498, allocations: 3.358 MB / 0.9863 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/0.9506, allocations: 1.172 MB / 0.9875 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003561/0.9509, allocations: 92.77 kB / 0.9876 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.9511, allocations: 47.42 kB / 0.9876 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of SimCode: time 8.42e-07/0.9511, allocations: 0 / 0.9876 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of Templates: time 0.02058/0.9717, allocations: 11.91 MB / 0.9992 GB, free: 13.64 MB / 0.6042 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)