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.001094/0.001094, allocations: 105.6 kB / 16.4 MB, free: 6.465 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.001085/0.001085, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.749/0.749, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.27 kB / 0.5679 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 77.94 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4463/0.5707, allocations: 156.7 MB / 0.7971 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0195/0.5902, allocations: 21.77 MB / 0.8183 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.5921, allocations: 51.03 kB / 0.8184 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.5935, allocations: 1.168 MB / 0.8195 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.5947, allocations: 0.864 MB / 0.8204 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000969/0.5957, allocations: 444.8 kB / 0.8208 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000988/0.5967, allocations: 1.256 MB / 0.822 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.5974, allocations: 0.6931 MB / 0.8227 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/0.598, allocations: 0.5676 MB / 0.8232 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008631/0.5989, allocations: 0.9144 MB / 0.8241 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-05/0.599, allocations: 65.53 kB / 0.8242 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.5992, allocations: 104.8 kB / 0.8243 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.5994, allocations: 313.9 kB / 0.8246 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.5998, allocations: 494.6 kB / 0.8251 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.6009, allocations: 1.211 MB / 0.8263 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.601, allocations: 0 / 0.8263 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.412e-06/0.601, allocations: 0 / 0.8263 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.601, allocations: 0 / 0.8263 GB, free: 4.406 MB / 0.5919 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.002122/0.6031, allocations: 1.529 MB / 0.8277 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6032, allocations: 10.44 kB / 0.8278 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.6033, allocations: 85.3 kB / 0.8278 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.6034, allocations: 139.5 kB / 0.828 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008343/0.6043, allocations: 0.677 MB / 0.8286 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.6044, allocations: 75.06 kB / 0.8287 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.6045, allocations: 45.44 kB / 0.8287 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/0.6054, allocations: 0.5155 MB / 0.8293 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.6054, allocations: 0 / 0.8293 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.6055, allocations: 16.44 kB / 0.8293 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.6055, allocations: 14.69 kB / 0.8293 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008057/0.6063, allocations: 418.4 kB / 0.8297 GB, free: 1.898 MB / 0.5919 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.003305/0.6096, allocations: 2.795 MB / 0.8324 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009871/0.6106, allocations: 460.9 kB / 0.8328 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.6112, allocations: 292.3 kB / 0.8331 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.6112, allocations: 4.609 kB / 0.8331 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005393/0.6118, allocations: 298.8 kB / 0.8334 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.675e-06/0.6118, allocations: 4.047 kB / 0.8334 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.00286/0.6146, allocations: 1.249 MB / 0.8346 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.6147, allocations: 57 kB / 0.8347 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.6163, allocations: 1.755 MB / 0.8364 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.6163, allocations: 36.55 kB / 0.8364 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.6167, allocations: 0.5247 MB / 0.837 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.6168, allocations: 149.9 kB / 0.8371 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.617, allocations: 94.25 kB / 0.8372 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.6171, allocations: 327 kB / 0.8375 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.6175, allocations: 222.4 kB / 0.8377 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.6181, allocations: 331 kB / 0.838 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008678/0.619, allocations: 0.5115 MB / 0.8385 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.619, allocations: 2.562 kB / 0.8385 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001552/0.6205, allocations: 0.8508 MB / 0.8394 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6206, allocations: 7.438 kB / 0.8394 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6206, allocations: 6.797 kB / 0.8394 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004894/0.6211, allocations: 177 kB / 0.8395 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.6214, allocations: 99.69 kB / 0.8396 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.6248, allocations: 2.997 MB / 0.8426 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.6252, allocations: 71.28 kB / 0.8426 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.6252, allocations: 18.59 kB / 0.8426 GB, free: 8.574 MB / 0.6075 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.0004415/0.6257, allocations: 385.4 kB / 0.843 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6258, allocations: 128.3 kB / 0.8431 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.626, allocations: 143.8 kB / 0.8433 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.626, allocations: 5.344 kB / 0.8433 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.6261, allocations: 2.469 kB / 0.8433 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6261, allocations: 0 / 0.8433 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.6284, allocations: 1.569 MB / 0.8448 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6284, allocations: 0 / 0.8448 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.6286, allocations: 48 kB / 0.8449 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.6291, allocations: 190.9 kB / 0.845 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.6291, allocations: 15.98 kB / 0.8451 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/0.6332, allocations: 4.558 MB / 0.8495 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6332, allocations: 0 / 0.8495 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.6351, allocations: 1.071 MB / 0.8506 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.6354, allocations: 228.2 kB / 0.8508 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/0.6355, allocations: 15.88 kB / 0.8508 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.6359, allocations: 27.97 kB / 0.8508 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.636, allocations: 51.92 kB / 0.8509 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.636, allocations: 19.98 kB / 0.8509 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001289/0.6373, allocations: 1.277 MB / 0.8521 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6373, allocations: 0 / 0.8521 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007597/0.6381, allocations: 203.8 kB / 0.8523 GB, free: 15.16 MB / 0.6231 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.002986/0.6411, allocations: 1.981 MB / 0.8543 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.6426, allocations: 0.7233 MB / 0.855 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6426, allocations: 0 / 0.855 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008602/0.6435, allocations: 0.5625 MB / 0.8555 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.6444, allocations: 208.7 kB / 0.8557 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.6558, allocations: 8.609 MB / 0.8641 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007002/0.6565, allocations: 1.153 MB / 0.8652 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002725/0.6568, allocations: 80.8 kB / 0.8653 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.6572, allocations: 407.3 kB / 0.8657 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.6572, allocations: 0 / 0.8657 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04556/0.7028, allocations: 21.24 MB / 0.8865 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.9, allocations: 2.234 kB / 0.8865 GB, free: 12.38 MB / 0.6544 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)