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.00094/0.00094, allocations: 104.5 kB / 15.98 MB, free: 6.34 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.0009342/0.0009342, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.469/1.469, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.785/0.785, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.88 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.556/0.5579, allocations: 76.18 MB / 0.556 GB, free: 35.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2266/0.7845, allocations: 154.6 MB / 0.707 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03144/0.816, allocations: 21.49 MB / 0.728 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004119/0.8202, allocations: 43.75 kB / 0.728 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.8219, allocations: 1.134 MB / 0.7291 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.8242, allocations: 0.8255 MB / 0.7299 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.8258, allocations: 382 kB / 0.7303 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.8274, allocations: 1.263 MB / 0.7315 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008205/0.8282, allocations: 0.6814 MB / 0.7322 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.8289, allocations: 0.5568 MB / 0.7327 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.8299, allocations: 0.9566 MB / 0.7337 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.83, allocations: 68 kB / 0.7337 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.8303, allocations: 104 kB / 0.7338 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.8306, allocations: 328.8 kB / 0.7341 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004327/0.831, allocations: 0.489 MB / 0.7346 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.8322, allocations: 1.179 MB / 0.7358 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.8322, allocations: 0 / 0.7358 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8322, allocations: 0 / 0.7358 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.8323, allocations: 0 / 0.7358 GB, free: 11.99 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.002342/0.8346, allocations: 1.487 MB / 0.7372 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8347, allocations: 8.031 kB / 0.7372 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.8348, allocations: 86.66 kB / 0.7373 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.8349, allocations: 139.2 kB / 0.7374 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000843/0.8358, allocations: 0.6548 MB / 0.7381 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.8359, allocations: 70.69 kB / 0.7381 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/0.836, allocations: 48 kB / 0.7382 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009213/0.8369, allocations: 0.5184 MB / 0.7387 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.837, allocations: 7.984 kB / 0.7387 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.837, allocations: 20 kB / 0.7387 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.837, allocations: 8 kB / 0.7387 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/0.8379, allocations: 411.7 kB / 0.7391 GB, free: 8.406 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.003973/0.8418, allocations: 2.807 MB / 0.7419 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.843, allocations: 456 kB / 0.7423 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005896/0.8436, allocations: 282.2 kB / 0.7426 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.8436, allocations: 12.64 kB / 0.7426 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005859/0.8442, allocations: 297.8 kB / 0.7429 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.755e-06/0.8442, allocations: 4 kB / 0.7429 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003255/0.8475, allocations: 1.242 MB / 0.7441 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.8476, allocations: 59.41 kB / 0.7441 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.8498, allocations: 1.748 MB / 0.7458 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.8499, allocations: 41.69 kB / 0.7459 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005509/0.8505, allocations: 0.5102 MB / 0.7464 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.8507, allocations: 153.9 kB / 0.7465 GB, free: 488 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.8509, allocations: 90.69 kB / 0.7466 GB, free: 392 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.8511, allocations: 334 kB / 0.7469 GB, free: 52 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4366/1.288, allocations: 211.5 kB / 0.7471 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007633/1.289, allocations: 323.5 kB / 0.7474 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/1.29, allocations: 0.5151 MB / 0.7479 GB, free: 175 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.29, allocations: 5.156 kB / 0.748 GB, free: 175 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002456/1.292, allocations: 0.8468 MB / 0.7488 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/1.292, allocations: 10.81 kB / 0.7488 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.292, allocations: 3.312 kB / 0.7488 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/1.293, allocations: 186.8 kB / 0.749 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/1.293, allocations: 97.77 kB / 0.7491 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004221/1.298, allocations: 2.996 MB / 0.752 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/1.298, allocations: 78.91 kB / 0.7521 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/1.298, allocations: 19.16 kB / 0.7521 GB, free: 172.6 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.0009908/1.299, allocations: 390.8 kB / 0.7525 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/1.3, allocations: 115.5 kB / 0.7526 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/1.3, allocations: 148.3 kB / 0.7527 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.3, allocations: 4.906 kB / 0.7527 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/1.3, allocations: 4.094 kB / 0.7527 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.3, allocations: 5.141 kB / 0.7527 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/1.303, allocations: 1.556 MB / 0.7542 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.303, allocations: 0.5625 kB / 0.7542 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/1.304, allocations: 43.89 kB / 0.7543 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005503/1.304, allocations: 203.1 kB / 0.7545 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/1.304, allocations: 15.22 kB / 0.7545 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/1.309, allocations: 4.552 MB / 0.7589 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.309, allocations: 1.438 kB / 0.7589 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/1.311, allocations: 1.057 MB / 0.76 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/1.312, allocations: 214.8 kB / 0.7602 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.312, allocations: 12.95 kB / 0.7602 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/1.312, allocations: 40.81 kB / 0.7602 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/1.312, allocations: 62.44 kB / 0.7603 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/1.313, allocations: 15.78 kB / 0.7603 GB, free: 167 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002169/1.315, allocations: 1.282 MB / 0.7616 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.11e-07/1.315, allocations: 0 / 0.7616 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001447/1.316, allocations: 213.9 kB / 0.7618 GB, free: 166.5 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.003536/1.32, allocations: 1.986 MB / 0.7637 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002089/1.322, allocations: 0.749 MB / 0.7644 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.322, allocations: 0 / 0.7644 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/1.323, allocations: 0.5536 MB / 0.765 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/1.324, allocations: 204.3 kB / 0.7652 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.342, allocations: 9.404 MB / 0.7743 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009995/1.343, allocations: 1.155 MB / 0.7755 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005071/1.343, allocations: 85.8 kB / 0.7756 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/1.344, allocations: 408.5 kB / 0.7759 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/1.344, allocations: 0 / 0.7759 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/1.392, allocations: 20.56 MB / 0.796 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.392, allocations: 279.1 kB / 0.7963 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.656, allocations: 0 / 0.7963 GB, free: 146.2 MB / 0.5762 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)