Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001039/0.001039, allocations: 93.5 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 177.3 kB / 16.92 MB, free: 6.676 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7239/0.7239, allocations: 123 MB / 415.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 8.844 kB / 0.4933 GB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4059, allocations: 79.28 MB / 0.5707 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.2577/0.6637, allocations: 152.3 MB / 0.7195 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03876/0.7025, allocations: 21.38 MB / 0.7404 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.7049, allocations: 47.69 kB / 0.7404 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.7072, allocations: 1.122 MB / 0.7415 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.7096, allocations: 0.8215 MB / 0.7423 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.7113, allocations: 381.8 kB / 0.7427 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.7138, allocations: 1.352 MB / 0.744 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.7151, allocations: 0.5788 MB / 0.7446 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.7161, allocations: 486.2 kB / 0.745 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.7177, allocations: 0.8747 MB / 0.7459 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.7179, allocations: 32 kB / 0.7459 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.7183, allocations: 75.97 kB / 0.746 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.7187, allocations: 292.7 kB / 0.7463 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006506/0.7193, allocations: 466.5 kB / 0.7467 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.721, allocations: 1.132 MB / 0.7478 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.721, allocations: 0 / 0.7478 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.095e-06/0.7211, allocations: 3.938 kB / 0.7478 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.325e-05/0.7211, allocations: 0 / 0.7478 GB, free: 6.633 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.003261/0.7244, allocations: 1.312 MB / 0.7491 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.7244, allocations: 8.031 kB / 0.7491 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.7247, allocations: 139.2 kB / 0.7493 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.726, allocations: 0.6589 MB / 0.7499 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.7262, allocations: 74.69 kB / 0.75 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.7263, allocations: 48 kB / 0.75 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.7279, allocations: 0.5301 MB / 0.7505 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.7279, allocations: 3.906 kB / 0.7505 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.991e-05/0.728, allocations: 16 kB / 0.7506 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.7281, allocations: 12 kB / 0.7506 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.7295, allocations: 435.7 kB / 0.751 GB, free: 3.285 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.003795/0.7333, allocations: 2.786 MB / 0.7537 GB, free: 272 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.7343, allocations: 463.5 kB / 0.7541 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.735, allocations: 317.3 kB / 0.7544 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.7351, allocations: 4.328 kB / 0.7545 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005846/0.7357, allocations: 296.8 kB / 0.7547 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.495e-06/0.7357, allocations: 0 / 0.7547 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.00296/0.7387, allocations: 1.187 MB / 0.7559 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.7387, allocations: 59.41 kB / 0.756 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.7407, allocations: 1.764 MB / 0.7577 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.7407, allocations: 41.64 kB / 0.7577 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/0.7412, allocations: 0.521 MB / 0.7582 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.7414, allocations: 142.1 kB / 0.7584 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.7414, allocations: 53.69 kB / 0.7584 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7416, allocations: 330 kB / 0.7587 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.7422, allocations: 229 kB / 0.7589 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.7428, allocations: 355.2 kB / 0.7593 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.7438, allocations: 0.5498 MB / 0.7598 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.7439, allocations: 3.938 kB / 0.7598 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001683/0.7456, allocations: 0.844 MB / 0.7606 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.7456, allocations: 11.98 kB / 0.7607 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7456, allocations: 4.219 kB / 0.7607 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/0.746, allocations: 133.3 kB / 0.7608 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.7465, allocations: 119.8 kB / 0.7609 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.7492, allocations: 2.392 MB / 0.7632 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.7498, allocations: 95.48 kB / 0.7633 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.7498, allocations: 20 kB / 0.7633 GB, free: 6.031 MB / 0.5919 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.0005444/0.7504, allocations: 394.9 kB / 0.7637 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.7505, allocations: 118.5 kB / 0.7638 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.7507, allocations: 139.7 kB / 0.764 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.7507, allocations: 4 kB / 0.764 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.7508, allocations: 7.938 kB / 0.764 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7508, allocations: 0 / 0.764 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.7532, allocations: 1.521 MB / 0.7655 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7532, allocations: 4 kB / 0.7655 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.7534, allocations: 51.91 kB / 0.7655 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.7539, allocations: 169.2 kB / 0.7657 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/0.7539, allocations: 12 kB / 0.7657 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003611/0.7575, allocations: 3.693 MB / 0.7693 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7576, allocations: 4.031 kB / 0.7693 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.7594, allocations: 1.011 MB / 0.7703 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.7597, allocations: 223.5 kB / 0.7705 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.673e-05/0.7598, allocations: 11.94 kB / 0.7705 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.7601, allocations: 47.89 kB / 0.7706 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.7603, allocations: 51.92 kB / 0.7706 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.7603, allocations: 12 kB / 0.7706 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001485/0.7618, allocations: 1.289 MB / 0.7719 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.7618, allocations: 0 / 0.7719 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008167/0.7626, allocations: 203.8 kB / 0.7721 GB, free: 12.71 MB / 0.6075 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.001214/0.7639, allocations: 489.3 kB / 0.7725 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.7654, allocations: 0.696 MB / 0.7732 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7655, allocations: 0 / 0.7732 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008478/0.7663, allocations: 0.5327 MB / 0.7737 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.7674, allocations: 182.8 kB / 0.7739 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.7714, allocations: 2.783 MB / 0.7766 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/0.7723, allocations: 1.153 MB / 0.7778 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003404/0.7727, allocations: 100.8 kB / 0.7779 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.7728, allocations: 43.42 kB / 0.7779 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/0.7728, allocations: 0 / 0.7779 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of Templates: time 0.02082/0.7936, allocations: 9.211 MB / 0.7869 GB, free: 13.74 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)