Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.006294/0.006294, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001667/0.001667, allocations: 197.2 kB / 16.79 MB, free: 6.242 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.295/1.295, allocations: 222.9 MB / 240.5 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.716/0.716, allocations: 115.3 MB / 405.9 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 67.89 kB / 493 MB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3101, allocations: 76.17 MB / 0.5558 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1368/0.447, allocations: 154.4 MB / 0.7066 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02156/0.4686, allocations: 21.61 MB / 0.7278 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.4699, allocations: 43.75 kB / 0.7278 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.4715, allocations: 1.122 MB / 0.7289 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.4728, allocations: 0.8138 MB / 0.7297 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009946/0.4738, allocations: 389.2 kB / 0.7301 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.4752, allocations: 1.348 MB / 0.7314 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006991/0.4759, allocations: 0.6103 MB / 0.732 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005619/0.4764, allocations: 494.3 kB / 0.7324 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009942/0.4774, allocations: 0.9098 MB / 0.7333 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-05/0.4775, allocations: 36 kB / 0.7334 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.4778, allocations: 83.97 kB / 0.7334 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.4781, allocations: 312.6 kB / 0.7337 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004136/0.4785, allocations: 460.8 kB / 0.7342 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009378/0.4795, allocations: 1.152 MB / 0.7353 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4795, allocations: 0 / 0.7353 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.62e-07/0.4795, allocations: 0 / 0.7353 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.4795, allocations: 0 / 0.7353 GB, free: 12.3 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.002201/0.4817, allocations: 1.48 MB / 0.7367 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4818, allocations: 19.95 kB / 0.7368 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.842e-05/0.4819, allocations: 78.72 kB / 0.7368 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.4821, allocations: 139.2 kB / 0.737 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/0.4828, allocations: 0.6587 MB / 0.7376 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.4829, allocations: 66.69 kB / 0.7377 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.483, allocations: 48 kB / 0.7377 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008774/0.4839, allocations: 0.5184 MB / 0.7382 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4839, allocations: 4 kB / 0.7382 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.484, allocations: 19.98 kB / 0.7383 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.484, allocations: 12 kB / 0.7383 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.4848, allocations: 415.6 kB / 0.7387 GB, free: 8.723 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.003076/0.4879, allocations: 2.811 MB / 0.7414 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009385/0.4888, allocations: 451.2 kB / 0.7418 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.4894, allocations: 289.2 kB / 0.7421 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.4894, allocations: 9.078 kB / 0.7421 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005288/0.4899, allocations: 301.8 kB / 0.7424 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 1.923e-06/0.49, allocations: 0 / 0.7424 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.002787/0.4927, allocations: 1.246 MB / 0.7436 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.4928, allocations: 59.34 kB / 0.7437 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.4944, allocations: 1.748 MB / 0.7454 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.4945, allocations: 41.69 kB / 0.7454 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.4948, allocations: 0.518 MB / 0.7459 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.4949, allocations: 149.9 kB / 0.7461 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.4951, allocations: 98.25 kB / 0.7462 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.4952, allocations: 330 kB / 0.7465 GB, free: 364 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.4957, allocations: 213 kB / 0.7467 GB, free: 152 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1844/0.6801, allocations: 321.3 kB / 0.747 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.6811, allocations: 0.5045 MB / 0.7475 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.6812, allocations: 7.594 kB / 0.7475 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001764/0.6829, allocations: 0.8521 MB / 0.7483 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.683, allocations: 7.266 kB / 0.7483 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.683, allocations: 3.156 kB / 0.7483 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005356/0.6835, allocations: 185.3 kB / 0.7485 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.6839, allocations: 91.14 kB / 0.7486 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.6869, allocations: 2.74 MB / 0.7513 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.6873, allocations: 86.55 kB / 0.7514 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.6874, allocations: 20 kB / 0.7514 GB, free: 173.4 MB / 0.5762 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.0004539/0.6879, allocations: 390.5 kB / 0.7518 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.688, allocations: 116.6 kB / 0.7519 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.6882, allocations: 143.3 kB / 0.752 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6882, allocations: 4.438 kB / 0.752 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.6882, allocations: 2.812 kB / 0.752 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6882, allocations: 7.781 kB / 0.752 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.6905, allocations: 1.557 MB / 0.7535 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6906, allocations: 1.219 kB / 0.7535 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.6908, allocations: 46.94 kB / 0.7536 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/0.6913, allocations: 197 kB / 0.7538 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.6913, allocations: 14.09 kB / 0.7538 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003333/0.6947, allocations: 4.126 MB / 0.7578 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6947, allocations: 0.6094 kB / 0.7578 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.6966, allocations: 1.061 MB / 0.7589 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.6968, allocations: 218.2 kB / 0.7591 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.6969, allocations: 18.86 kB / 0.7591 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.6972, allocations: 36.03 kB / 0.7591 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6974, allocations: 54.16 kB / 0.7592 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.6974, allocations: 17.22 kB / 0.7592 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001331/0.6988, allocations: 1.28 MB / 0.7604 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6988, allocations: 0.8125 kB / 0.7604 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007744/0.6996, allocations: 211.5 kB / 0.7606 GB, free: 167.7 MB / 0.5762 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.002785/0.7024, allocations: 1.985 MB / 0.7626 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.7037, allocations: 0.7128 MB / 0.7633 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7037, allocations: 0 / 0.7633 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.7045, allocations: 0.5509 MB / 0.7638 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/0.7054, allocations: 190.1 kB / 0.764 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.7171, allocations: 9.413 MB / 0.7732 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.7177, allocations: 1.153 MB / 0.7743 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000279/0.718, allocations: 98.23 kB / 0.7744 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.7184, allocations: 405.6 kB / 0.7748 GB, free: 160 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.7184, allocations: 0 / 0.7748 GB, free: 160 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5917/1.31, allocations: 20.11 MB / 0.7944 GB, free: 148 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/1.31, allocations: 273.4 kB / 0.7947 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/3.482, allocations: 0 / 0.7947 GB, free: 147.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)