Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 102.9 kB / 16.27 MB, free: 6.012 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.00171/0.001711, allocations: 187.8 kB / 17.19 MB, free: 5.652 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.256/1.256, allocations: 222.9 MB / 240.9 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.733/0.733, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.88 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2871, allocations: 77.93 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1448/0.4319, allocations: 156.7 MB / 0.7203 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02232/0.4543, allocations: 21.75 MB / 0.7416 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.4558, allocations: 51.75 kB / 0.7416 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.4573, allocations: 1.165 MB / 0.7427 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.4587, allocations: 0.8485 MB / 0.7436 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.4598, allocations: 453.7 kB / 0.744 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.461, allocations: 1.255 MB / 0.7452 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007913/0.4618, allocations: 0.6814 MB / 0.7459 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.4625, allocations: 0.553 MB / 0.7464 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009794/0.4635, allocations: 0.9099 MB / 0.7473 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.4636, allocations: 68 kB / 0.7474 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.4639, allocations: 112 kB / 0.7475 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.4641, allocations: 324.7 kB / 0.7478 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.4645, allocations: 492.8 kB / 0.7483 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.2572/0.7217, allocations: 1.172 MB / 0.7494 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7217, allocations: 0.6875 kB / 0.7494 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7217, allocations: 1.219 kB / 0.7494 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.678e-05/0.7218, allocations: 0 / 0.7494 GB, free: 6.176 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.002028/0.7238, allocations: 1.478 MB / 0.7509 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.7239, allocations: 10.16 kB / 0.7509 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.391e-05/0.7239, allocations: 86.53 kB / 0.751 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.7241, allocations: 134.8 kB / 0.7511 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006665/0.7248, allocations: 0.6581 MB / 0.7517 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.7249, allocations: 74.86 kB / 0.7518 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.89e-05/0.725, allocations: 47.25 kB / 0.7519 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008522/0.7259, allocations: 0.519 MB / 0.7524 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.7259, allocations: 4.75 kB / 0.7524 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.7259, allocations: 15.03 kB / 0.7524 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.726, allocations: 10.28 kB / 0.7524 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/0.7268, allocations: 418.4 kB / 0.7528 GB, free: 4.793 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.003111/0.7299, allocations: 2.798 MB / 0.7555 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009892/0.7309, allocations: 464.6 kB / 0.756 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.7315, allocations: 284.5 kB / 0.7562 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.7315, allocations: 10.27 kB / 0.7562 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/0.7321, allocations: 301.7 kB / 0.7565 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.274e-06/0.7321, allocations: 3.172 kB / 0.7565 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003039/0.7351, allocations: 1.241 MB / 0.7577 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.7352, allocations: 57.03 kB / 0.7578 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.7369, allocations: 1.751 MB / 0.7595 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.7369, allocations: 44.39 kB / 0.7596 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.7373, allocations: 0.5125 MB / 0.7601 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/0.7374, allocations: 149 kB / 0.7602 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.7375, allocations: 94.47 kB / 0.7603 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.7376, allocations: 329.1 kB / 0.7606 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.7381, allocations: 217.2 kB / 0.7608 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.7386, allocations: 329.2 kB / 0.7611 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008808/0.7395, allocations: 0.5092 MB / 0.7616 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7395, allocations: 1.688 kB / 0.7616 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001592/0.7411, allocations: 0.8404 MB / 0.7624 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.7411, allocations: 8.234 kB / 0.7624 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7412, allocations: 8.031 kB / 0.7625 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.7417, allocations: 188.4 kB / 0.7626 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.742, allocations: 93.67 kB / 0.7627 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.7451, allocations: 3.004 MB / 0.7657 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.7455, allocations: 75.91 kB / 0.7657 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.7456, allocations: 18.97 kB / 0.7657 GB, free: 16.2 MB / 0.5919 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.00038/0.746, allocations: 386.7 kB / 0.7661 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.7461, allocations: 115.2 kB / 0.7662 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.7463, allocations: 141.3 kB / 0.7664 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.7463, allocations: 8.359 kB / 0.7664 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.7463, allocations: 4.453 kB / 0.7664 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.7463, allocations: 0.875 kB / 0.7664 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.7486, allocations: 1.574 MB / 0.7679 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7486, allocations: 1.062 kB / 0.7679 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.7489, allocations: 41.55 kB / 0.768 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.7493, allocations: 200.3 kB / 0.7681 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.7494, allocations: 14.56 kB / 0.7682 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003866/0.7532, allocations: 4.548 MB / 0.7726 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7533, allocations: 0.9688 kB / 0.7726 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.755, allocations: 1.068 MB / 0.7736 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.7553, allocations: 216.1 kB / 0.7738 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.7554, allocations: 17.11 kB / 0.7739 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.7557, allocations: 23.73 kB / 0.7739 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.7558, allocations: 57.91 kB / 0.7739 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.7559, allocations: 17.39 kB / 0.774 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001066/0.7569, allocations: 1.276 MB / 0.7752 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7569, allocations: 0 / 0.7752 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007232/0.7577, allocations: 206.2 kB / 0.7754 GB, free: 12.09 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 (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.002817/0.7605, allocations: 1.98 MB / 0.7773 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.762, allocations: 0.7673 MB / 0.7781 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.762, allocations: 0 / 0.7781 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007817/0.7628, allocations: 0.548 MB / 0.7786 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009519/0.7638, allocations: 201.1 kB / 0.7788 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.7742, allocations: 9.139 MB / 0.7877 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.7748, allocations: 1.153 MB / 0.7889 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.7751, allocations: 86.73 kB / 0.7889 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.7754, allocations: 408.4 kB / 0.7893 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of SimCode: time 4.3e-07/0.7754, allocations: 0.875 kB / 0.7893 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.8183, allocations: 20.85 MB / 0.8097 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.109/9.927, allocations: 7.547 kB / 0.8097 GB, free: 1.836 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)