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.0008628/0.0008628, 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.0009638/0.0009638, 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.258/1.258, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001634/0.001634, allocations: 266.5 kB / 291.3 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9346/0.9346, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004106, allocations: 12.38 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1715, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4727/0.6443, allocations: 142.1 MB / 0.8233 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.6673, allocations: 20.25 MB / 0.8431 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.6693, allocations: 44.88 kB / 0.8431 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.6706, allocations: 1.096 MB / 0.8442 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.6719, allocations: 0.787 MB / 0.8449 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.6729, allocations: 337.8 kB / 0.8453 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.674, allocations: 1.181 MB / 0.8464 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005756/0.6746, allocations: 0.4987 MB / 0.8469 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.6751, allocations: 474 kB / 0.8474 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007977/0.6759, allocations: 0.783 MB / 0.8481 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.367e-05/0.676, allocations: 27.47 kB / 0.8481 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.6762, allocations: 59.06 kB / 0.8482 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.6764, allocations: 289.5 kB / 0.8485 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.6766, allocations: 214.9 kB / 0.8487 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007323/0.6773, allocations: 0.8903 MB / 0.8496 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6773, allocations: 0 / 0.8496 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6773, allocations: 0 / 0.8496 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.6774, allocations: 3.312 kB / 0.8496 GB, free: 15.53 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.001789/0.6792, allocations: 1.33 MB / 0.8509 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.6792, allocations: 8.844 kB / 0.8509 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.6794, allocations: 136.9 kB / 0.851 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007321/0.6801, allocations: 0.601 MB / 0.8516 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.6802, allocations: 79.66 kB / 0.8517 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.6803, allocations: 42.5 kB / 0.8517 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/0.6812, allocations: 0.5279 MB / 0.8522 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6813, allocations: 7.938 kB / 0.8522 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.6813, allocations: 17.12 kB / 0.8522 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.6813, allocations: 8.625 kB / 0.8522 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.6821, allocations: 428.6 kB / 0.8527 GB, free: 13.31 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.00333/0.6854, allocations: 2.859 MB / 0.8554 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/0.6863, allocations: 480.4 kB / 0.8559 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.6868, allocations: 290.3 kB / 0.8562 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.6869, allocations: 3.266 kB / 0.8562 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005386/0.6874, allocations: 309.4 kB / 0.8565 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/0.6874, allocations: 0 / 0.8565 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.002747/0.6902, allocations: 1.266 MB / 0.8577 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.6902, allocations: 54.19 kB / 0.8578 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.6921, allocations: 1.756 MB / 0.8595 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.6921, allocations: 36.36 kB / 0.8595 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.6926, allocations: 0.5184 MB / 0.86 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.6927, allocations: 150.2 kB / 0.8602 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.6927, allocations: 8 kB / 0.8602 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6928, allocations: 333.6 kB / 0.8605 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.6933, allocations: 231.1 kB / 0.8607 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.6938, allocations: 350 kB / 0.861 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.6943, allocations: 265.1 kB / 0.8613 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6943, allocations: 0 / 0.8613 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001539/0.6959, allocations: 0.8882 MB / 0.8622 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6959, allocations: 5.375 kB / 0.8622 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.6959, allocations: 2.656 kB / 0.8622 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/0.6964, allocations: 190.8 kB / 0.8624 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.6967, allocations: 106.8 kB / 0.8625 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.6999, allocations: 2.744 MB / 0.8651 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.7004, allocations: 89.23 kB / 0.8652 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.7004, allocations: 19.84 kB / 0.8652 GB, free: 4.418 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.0004862/0.7009, allocations: 385 kB / 0.8656 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.701, allocations: 122.6 kB / 0.8657 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.7012, allocations: 139.8 kB / 0.8659 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7012, allocations: 5.75 kB / 0.8659 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.7013, allocations: 2.156 kB / 0.8659 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.7013, allocations: 0 / 0.8659 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.7035, allocations: 1.587 MB / 0.8674 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.7035, allocations: 3.953 kB / 0.8674 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.7037, allocations: 50.38 kB / 0.8675 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.7042, allocations: 199.1 kB / 0.8677 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.7042, allocations: 14.38 kB / 0.8677 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/0.7084, allocations: 4.13 MB / 0.8717 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7084, allocations: 0 / 0.8717 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.7104, allocations: 1.068 MB / 0.8727 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.7108, allocations: 227.5 kB / 0.873 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.7109, allocations: 15.94 kB / 0.873 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.7113, allocations: 43.95 kB / 0.873 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.7114, allocations: 55.86 kB / 0.8731 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.7115, allocations: 16 kB / 0.8731 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001614/0.7131, allocations: 1.28 MB / 0.8743 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7131, allocations: 4 kB / 0.8743 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000857/0.714, allocations: 207.7 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.001118/0.7151, allocations: 486.3 kB / 0.875 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.7167, allocations: 0.7431 MB / 0.8757 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.7167, allocations: 0 / 0.8757 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.7178, allocations: 0.5673 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.0009507/0.7188, allocations: 185.2 kB / 0.8765 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.7226, allocations: 2.661 MB / 0.8791 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008428/0.7235, allocations: 1.153 MB / 0.8802 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000287/0.7237, allocations: 84.78 kB / 0.8803 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.7239, allocations: 47.42 kB / 0.8803 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.7239, allocations: 0 / 0.8803 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of Templates: time 0.01754/0.7414, allocations: 9.398 MB / 0.8895 GB, free: 12.94 MB / 0.6075 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)