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.006583/0.006583, allocations: 101.6 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.001657/0.001657, allocations: 197.9 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6679/0.6679, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64.81 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1225, allocations: 76.18 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.3722/0.4947, allocations: 154.4 MB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02289/0.5176, allocations: 21.61 MB / 0.7278 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.5191, allocations: 51.69 kB / 0.7278 GB, free: 6.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.5206, allocations: 1.134 MB / 0.7289 GB, free: 5.516 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.5218, allocations: 0.8059 MB / 0.7297 GB, free: 4.707 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.5228, allocations: 389.9 kB / 0.7301 GB, free: 4.332 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.524, allocations: 1.352 MB / 0.7314 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006975/0.5247, allocations: 0.6085 MB / 0.732 GB, free: 2.375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.5252, allocations: 494.2 kB / 0.7325 GB, free: 1.891 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009189/0.5261, allocations: 0.9098 MB / 0.7333 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.916e-05/0.5262, allocations: 36 kB / 0.7334 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.5265, allocations: 91.92 kB / 0.7335 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.5267, allocations: 300.8 kB / 0.7338 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.5271, allocations: 468.8 kB / 0.7342 GB, free: 100 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009313/0.5281, allocations: 1.156 MB / 0.7353 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5281, allocations: 0 / 0.7353 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5281, allocations: 0 / 0.7353 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.5281, allocations: 0 / 0.7353 GB, free: 14.94 MB / 0.5606 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.002113/0.5302, allocations: 1.479 MB / 0.7368 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.5303, allocations: 8.031 kB / 0.7368 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.5304, allocations: 82.7 kB / 0.7369 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.5305, allocations: 135.2 kB / 0.737 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/0.5313, allocations: 0.659 MB / 0.7376 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.5315, allocations: 78.62 kB / 0.7377 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.5315, allocations: 48 kB / 0.7378 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009438/0.5325, allocations: 0.5145 MB / 0.7383 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.5325, allocations: 7.938 kB / 0.7383 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.5326, allocations: 19.98 kB / 0.7383 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.5326, allocations: 8 kB / 0.7383 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008491/0.5335, allocations: 411.7 kB / 0.7387 GB, free: 11.37 MB / 0.5606 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.003408/0.5369, allocations: 2.807 MB / 0.7414 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5379, allocations: 459.2 kB / 0.7419 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.5385, allocations: 282.9 kB / 0.7421 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.5385, allocations: 8.656 kB / 0.7421 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005531/0.5391, allocations: 302 kB / 0.7424 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 1.934e-06/0.5391, allocations: 0 / 0.7424 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.002929/0.542, allocations: 1.243 MB / 0.7436 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.5421, allocations: 63.41 kB / 0.7437 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.5438, allocations: 1.748 MB / 0.7454 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.5439, allocations: 37.7 kB / 0.7454 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/0.5443, allocations: 0.5218 MB / 0.746 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.5444, allocations: 145.9 kB / 0.7461 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.5446, allocations: 98.23 kB / 0.7462 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5447, allocations: 322 kB / 0.7465 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.5452, allocations: 225 kB / 0.7467 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.5457, allocations: 328.9 kB / 0.747 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/0.5466, allocations: 0.5068 MB / 0.7475 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5466, allocations: 0 / 0.7475 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001622/0.5483, allocations: 0.8489 MB / 0.7483 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5483, allocations: 8 kB / 0.7484 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5483, allocations: 11.88 kB / 0.7484 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005107/0.5488, allocations: 182.8 kB / 0.7485 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.5492, allocations: 91.88 kB / 0.7486 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.5525, allocations: 2.745 MB / 0.7513 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.5529, allocations: 79.55 kB / 0.7514 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.5529, allocations: 16 kB / 0.7514 GB, free: 13.77 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.0004269/0.5534, allocations: 383.4 kB / 0.7518 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.5535, allocations: 114.5 kB / 0.7519 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.5537, allocations: 151.6 kB / 0.752 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5537, allocations: 4 kB / 0.752 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.5537, allocations: 4 kB / 0.752 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5537, allocations: 3.938 kB / 0.752 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.5562, allocations: 1.566 MB / 0.7536 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.5562, allocations: 4 kB / 0.7536 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.5564, allocations: 43.91 kB / 0.7536 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004864/0.5569, allocations: 198.4 kB / 0.7538 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.557, allocations: 8 kB / 0.7538 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003941/0.5609, allocations: 4.123 MB / 0.7578 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5609, allocations: 0 / 0.7578 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.5627, allocations: 1.064 MB / 0.7589 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.563, allocations: 215.6 kB / 0.7591 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.5631, allocations: 12 kB / 0.7591 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.5634, allocations: 31.97 kB / 0.7591 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.5635, allocations: 59.84 kB / 0.7592 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.5636, allocations: 16 kB / 0.7592 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001263/0.5649, allocations: 1.281 MB / 0.7604 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5649, allocations: 0 / 0.7604 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007277/0.5656, allocations: 211.6 kB / 0.7606 GB, free: 3.914 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.00304/0.5686, allocations: 1.997 MB / 0.7626 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.5701, allocations: 0.7192 MB / 0.7633 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5701, allocations: 0 / 0.7633 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000851/0.5709, allocations: 0.548 MB / 0.7638 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.5719, allocations: 193.6 kB / 0.764 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.5841, allocations: 9.401 MB / 0.7732 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/0.5848, allocations: 1.153 MB / 0.7743 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002719/0.5851, allocations: 92.72 kB / 0.7744 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.5855, allocations: 407.2 kB / 0.7748 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.5856, allocations: 0 / 0.7748 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5912/1.177, allocations: 20.1 MB / 0.7944 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/1.177, allocations: 275.8 kB / 0.7947 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/3.388, allocations: 7.812 kB / 0.7947 GB, free: 0.9297 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)