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.007258/0.007258, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001429/0.001429, allocations: 193.9 kB / 16.67 MB, free: 5.93 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 284.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9092/0.9092, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 95.84 kB / 0.6814 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4311, allocations: 86.97 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1594/0.5905, allocations: 156.7 MB / 0.9194 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.025/0.6156, allocations: 21.75 MB / 0.9407 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.6174, allocations: 51.75 kB / 0.9407 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.6191, allocations: 1.165 MB / 0.9418 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.6204, allocations: 0.8484 MB / 0.9427 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.6215, allocations: 446.2 kB / 0.9431 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.6227, allocations: 1.259 MB / 0.9443 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007374/0.6235, allocations: 0.6792 MB / 0.945 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005969/0.6241, allocations: 0.5529 MB / 0.9455 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.6251, allocations: 0.9255 MB / 0.9464 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.6252, allocations: 64 kB / 0.9465 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.6255, allocations: 115.9 kB / 0.9466 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.6258, allocations: 316.8 kB / 0.9469 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.6262, allocations: 496.8 kB / 0.9474 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.6274, allocations: 1.197 MB / 0.9486 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6274, allocations: 0 / 0.9486 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6274, allocations: 4 kB / 0.9486 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.6274, allocations: 0 / 0.9486 GB, free: 8.641 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.002193/0.6296, allocations: 1.478 MB / 0.95 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.6297, allocations: 8.031 kB / 0.95 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.6298, allocations: 139.2 kB / 0.9501 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007817/0.6306, allocations: 0.659 MB / 0.9508 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.6308, allocations: 74.69 kB / 0.9509 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.6308, allocations: 44 kB / 0.9509 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009402/0.6318, allocations: 0.5262 MB / 0.9514 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.6318, allocations: 4 kB / 0.9514 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.6319, allocations: 16 kB / 0.9514 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.6319, allocations: 8 kB / 0.9514 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.6327, allocations: 419.7 kB / 0.9518 GB, free: 5.156 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.003452/0.6362, allocations: 2.788 MB / 0.9546 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.6373, allocations: 465.2 kB / 0.955 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/0.638, allocations: 289.3 kB / 0.9553 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.638, allocations: 4.328 kB / 0.9553 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/0.6386, allocations: 298.8 kB / 0.9556 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 1.973e-06/0.6386, allocations: 0 / 0.9556 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.3803/1.019, allocations: 1.24 MB / 0.9568 GB, free: 192 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/1.019, allocations: 56.73 kB / 0.9568 GB, free: 192 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/1.022, allocations: 1.75 MB / 0.9585 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/1.022, allocations: 41.95 kB / 0.9586 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/1.022, allocations: 0.5155 MB / 0.9591 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.022, allocations: 146.3 kB / 0.9592 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/1.023, allocations: 105 kB / 0.9593 GB, free: 191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/1.023, allocations: 326.1 kB / 0.9596 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/1.023, allocations: 219.3 kB / 0.9598 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/1.024, allocations: 324.9 kB / 0.9602 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009022/1.025, allocations: 0.5045 MB / 0.9606 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.025, allocations: 1.281 kB / 0.9606 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001632/1.026, allocations: 0.8521 MB / 0.9615 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.026, allocations: 5.625 kB / 0.9615 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.026, allocations: 4.094 kB / 0.9615 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/1.027, allocations: 188.5 kB / 0.9617 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/1.027, allocations: 93.88 kB / 0.9618 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/1.03, allocations: 2.991 MB / 0.9647 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/1.031, allocations: 82.81 kB / 0.9648 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/1.031, allocations: 19.73 kB / 0.9648 GB, free: 187.6 MB / 0.7169 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.0004218/1.031, allocations: 377.3 kB / 0.9651 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/1.031, allocations: 115.9 kB / 0.9652 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/1.031, allocations: 150 kB / 0.9654 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/1.031, allocations: 5.797 kB / 0.9654 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/1.031, allocations: 2.656 kB / 0.9654 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.031, allocations: 3.734 kB / 0.9654 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/1.034, allocations: 1.559 MB / 0.9669 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.034, allocations: 5.797 kB / 0.9669 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/1.034, allocations: 47 kB / 0.967 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/1.034, allocations: 192.2 kB / 0.9672 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/1.034, allocations: 11.66 kB / 0.9672 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/1.038, allocations: 4.559 MB / 0.9716 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.038, allocations: 1.172 kB / 0.9716 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/1.039, allocations: 1.06 MB / 0.9727 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/1.039, allocations: 218.1 kB / 0.9729 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/1.039, allocations: 17.45 kB / 0.9729 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/1.04, allocations: 28.3 kB / 0.9729 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.04, allocations: 59.86 kB / 0.973 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/1.04, allocations: 10.53 kB / 0.973 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009553/1.041, allocations: 1.283 MB / 0.9742 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.041, allocations: 0 / 0.9742 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000635/1.042, allocations: 203.6 kB / 0.9744 GB, free: 180.5 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,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.001003/1.043, allocations: 487.6 kB / 0.9749 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001185/1.044, allocations: 0.7078 MB / 0.9756 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.044, allocations: 128 / 0.9756 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006817/1.044, allocations: 0.5524 MB / 0.9761 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008515/1.045, allocations: 209.1 kB / 0.9763 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/1.048, allocations: 2.364 MB / 0.9786 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/1.048, allocations: 1.148 MB / 0.9798 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001944/1.049, allocations: 88.78 kB / 0.9798 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/1.049, allocations: 51.42 kB / 0.9799 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/1.049, allocations: 0 / 0.9799 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.01504/1.064, allocations: 10.58 MB / 0.9902 GB, free: 164.8 MB / 0.7169 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)