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.001197/0.001197, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001246/0.001246, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002175, allocations: 282 kB / 291.5 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.9294/0.9294, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 107.8 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4399, allocations: 86.95 MB / 0.767 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1515/0.5914, allocations: 156.7 MB / 0.9201 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02461/0.6161, allocations: 21.75 MB / 0.9413 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.6184, allocations: 51.69 kB / 0.9414 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.6202, allocations: 1.161 MB / 0.9425 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.622, allocations: 0.8561 MB / 0.9433 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.6235, allocations: 442.2 kB / 0.9438 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.6253, allocations: 1.255 MB / 0.945 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.6264, allocations: 0.6792 MB / 0.9457 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009783/0.6273, allocations: 0.5569 MB / 0.9462 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.6286, allocations: 0.9177 MB / 0.9471 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.6288, allocations: 64 kB / 0.9472 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.6291, allocations: 115.9 kB / 0.9473 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.6295, allocations: 316.7 kB / 0.9476 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005798/0.6301, allocations: 492.8 kB / 0.948 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.6314, allocations: 1.205 MB / 0.9492 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6314, allocations: 0 / 0.9492 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6314, allocations: 0 / 0.9492 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.441e-05/0.6315, allocations: 0 / 0.9492 GB, free: 8.812 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.00262/0.6341, allocations: 1.478 MB / 0.9507 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.6341, allocations: 12.03 kB / 0.9507 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.6344, allocations: 135.2 kB / 0.9508 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009172/0.6353, allocations: 0.6628 MB / 0.9514 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.6354, allocations: 74.69 kB / 0.9515 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.678e-05/0.6355, allocations: 47.98 kB / 0.9516 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/0.6365, allocations: 0.5145 MB / 0.9521 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.6366, allocations: 11.92 kB / 0.9521 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.6366, allocations: 20 kB / 0.9521 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.6366, allocations: 8 kB / 0.9521 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008142/0.6375, allocations: 411.7 kB / 0.9525 GB, free: 5.328 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.003458/0.6409, allocations: 2.723 MB / 0.9552 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/0.6419, allocations: 440.5 kB / 0.9556 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.6425, allocations: 307.7 kB / 0.9559 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.6426, allocations: 8.328 kB / 0.9559 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/0.6431, allocations: 271.8 kB / 0.9561 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 3.176e-06/0.6431, allocations: 192 / 0.9561 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.002491/0.6456, allocations: 1.164 MB / 0.9573 GB, free: 128 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.6457, allocations: 59.41 kB / 0.9573 GB, free: 56 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3561/1.002, allocations: 1.753 MB / 0.959 GB, free: 192 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.002, allocations: 38.25 kB / 0.9591 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/1.002, allocations: 0.5282 MB / 0.9596 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/1.003, allocations: 139.9 kB / 0.9597 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/1.003, allocations: 100.5 kB / 0.9598 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/1.003, allocations: 332.5 kB / 0.9601 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/1.003, allocations: 211.2 kB / 0.9603 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/1.004, allocations: 339.6 kB / 0.9607 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/1.005, allocations: 0.5202 MB / 0.9612 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.005, allocations: 6.141 kB / 0.9612 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001496/1.006, allocations: 0.8046 MB / 0.962 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.006, allocations: 7.594 kB / 0.962 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.006, allocations: 4.234 kB / 0.962 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/1.007, allocations: 135.8 kB / 0.9621 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/1.007, allocations: 102.7 kB / 0.9622 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/1.009, allocations: 2.592 MB / 0.9647 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/1.01, allocations: 84.44 kB / 0.9648 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/1.01, allocations: 22.52 kB / 0.9648 GB, free: 188.2 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.0004441/1.01, allocations: 386.9 kB / 0.9652 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.011, allocations: 116 kB / 0.9653 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/1.011, allocations: 142.1 kB / 0.9655 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.011, allocations: 4.594 kB / 0.9655 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.011, allocations: 2.625 kB / 0.9655 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.011, allocations: 11.44 kB / 0.9655 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/1.013, allocations: 1.484 MB / 0.9669 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.013, allocations: 0.7031 kB / 0.9669 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/1.013, allocations: 46.27 kB / 0.967 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/1.013, allocations: 166.2 kB / 0.9671 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/1.014, allocations: 14.59 kB / 0.9671 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/1.016, allocations: 4.025 MB / 0.9711 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.016, allocations: 3.938 kB / 0.9711 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/1.018, allocations: 0.9907 MB / 0.972 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/1.018, allocations: 213.8 kB / 0.9722 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/1.018, allocations: 12.8 kB / 0.9723 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/1.018, allocations: 23.75 kB / 0.9723 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.018, allocations: 50.28 kB / 0.9723 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/1.018, allocations: 21.84 kB / 0.9723 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001133/1.02, allocations: 1.285 MB / 0.9736 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.02, allocations: 0 / 0.9736 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006321/1.02, allocations: 200.2 kB / 0.9738 GB, free: 182 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.0009763/1.021, allocations: 482.5 kB / 0.9743 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.022, allocations: 0.6704 MB / 0.9749 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.022, allocations: 0 / 0.9749 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006276/1.023, allocations: 0.5251 MB / 0.9754 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/1.024, allocations: 212.8 kB / 0.9756 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/1.027, allocations: 2.416 MB / 0.978 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/1.027, allocations: 1.146 MB / 0.9791 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/1.027, allocations: 47.44 kB / 0.9791 GB, free: 177 MB / 0.7169 GB Notification: Performance of SimCode: time 4.3e-07/1.027, allocations: 0 / 0.9791 GB, free: 177 MB / 0.7169 GB Notification: Performance of Templates: time 0.01698/1.044, allocations: 17.87 MB / 0.9966 GB, free: 159.2 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)