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.001155/0.001155, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001076/0.001076, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7545/0.7545, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 59.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4057, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1782/0.584, allocations: 156.7 MB / 0.7203 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03247/0.6165, allocations: 21.75 MB / 0.7416 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.6198, allocations: 51.75 kB / 0.7416 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.6221, allocations: 1.153 MB / 0.7427 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.6243, allocations: 0.8524 MB / 0.7436 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.626, allocations: 448.7 kB / 0.744 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.6281, allocations: 1.259 MB / 0.7452 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.6295, allocations: 0.6814 MB / 0.7459 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.6309, allocations: 0.5491 MB / 0.7464 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.6324, allocations: 0.9138 MB / 0.7473 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002864/0.6327, allocations: 64 kB / 0.7474 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.6332, allocations: 112 kB / 0.7475 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003985/0.6336, allocations: 324.7 kB / 0.7478 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007191/0.6344, allocations: 492.8 kB / 0.7483 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4306/1.065, allocations: 1.175 MB / 0.7494 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.065, allocations: 0.5 kB / 0.7494 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.464e-06/1.065, allocations: 0.75 kB / 0.7494 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.062e-05/1.065, allocations: 0 / 0.7494 GB, free: 6.102 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.002425/1.068, allocations: 1.473 MB / 0.7509 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.068, allocations: 9.781 kB / 0.7509 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.475e-05/1.068, allocations: 84.52 kB / 0.751 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/1.068, allocations: 135.6 kB / 0.7511 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/1.069, allocations: 0.6586 MB / 0.7517 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/1.069, allocations: 73.84 kB / 0.7518 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.671e-05/1.069, allocations: 49.25 kB / 0.7518 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009505/1.07, allocations: 0.5173 MB / 0.7523 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/1.07, allocations: 4.594 kB / 0.7523 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/1.07, allocations: 19.34 kB / 0.7524 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/1.07, allocations: 10.06 kB / 0.7524 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000873/1.071, allocations: 415.9 kB / 0.7528 GB, free: 4.719 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.003661/1.075, allocations: 2.805 MB / 0.7555 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.076, allocations: 457.9 kB / 0.756 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/1.076, allocations: 286.1 kB / 0.7562 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/1.076, allocations: 9.281 kB / 0.7562 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006072/1.077, allocations: 300.1 kB / 0.7565 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 3.326e-06/1.077, allocations: 0.9062 kB / 0.7565 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.00336/1.08, allocations: 1.243 MB / 0.7577 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.08, allocations: 57.91 kB / 0.7578 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/1.083, allocations: 1.755 MB / 0.7595 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/1.083, allocations: 41.59 kB / 0.7595 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/1.083, allocations: 0.5149 MB / 0.76 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.083, allocations: 144.1 kB / 0.7602 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.083, allocations: 97.38 kB / 0.7603 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/1.083, allocations: 332.7 kB / 0.7606 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/1.084, allocations: 218.5 kB / 0.7608 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/1.084, allocations: 326.3 kB / 0.7611 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009596/1.085, allocations: 0.5105 MB / 0.7616 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.085, allocations: 0.8125 kB / 0.7616 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001894/1.087, allocations: 0.8443 MB / 0.7624 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.087, allocations: 6.969 kB / 0.7624 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.087, allocations: 4.656 kB / 0.7624 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/1.088, allocations: 187.6 kB / 0.7626 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/1.088, allocations: 92.77 kB / 0.7627 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/1.092, allocations: 3.002 MB / 0.7656 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/1.093, allocations: 75.5 kB / 0.7657 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/1.093, allocations: 22.91 kB / 0.7657 GB, free: 16.13 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.0006282/1.093, allocations: 384.2 kB / 0.7661 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.093, allocations: 115.6 kB / 0.7662 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/1.094, allocations: 142.5 kB / 0.7664 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/1.094, allocations: 5.875 kB / 0.7664 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-05/1.094, allocations: 6.812 kB / 0.7664 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.094, allocations: 0 / 0.7664 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/1.096, allocations: 1.571 MB / 0.7679 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.096, allocations: 1.781 kB / 0.7679 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/1.097, allocations: 46.06 kB / 0.7679 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/1.097, allocations: 198.5 kB / 0.7681 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/1.097, allocations: 14.09 kB / 0.7681 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004344/1.102, allocations: 4.553 MB / 0.7726 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.102, allocations: 0 / 0.7726 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/1.104, allocations: 1.066 MB / 0.7736 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/1.104, allocations: 216 kB / 0.7738 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/1.104, allocations: 12.28 kB / 0.7739 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/1.104, allocations: 29.88 kB / 0.7739 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.105, allocations: 51.78 kB / 0.7739 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/1.105, allocations: 22.11 kB / 0.774 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001359/1.106, allocations: 1.28 MB / 0.7752 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.106, allocations: 1.062 kB / 0.7752 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008877/1.107, allocations: 205.7 kB / 0.7754 GB, free: 12.02 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.002978/1.11, allocations: 1.987 MB / 0.7773 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001671/1.112, allocations: 0.7624 MB / 0.7781 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/1.112, allocations: 3.188 kB / 0.7781 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008513/1.112, allocations: 0.5459 MB / 0.7786 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/1.114, allocations: 206.4 kB / 0.7788 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/1.127, allocations: 9.138 MB / 0.7877 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009382/1.128, allocations: 1.154 MB / 0.7889 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003702/1.129, allocations: 85.98 kB / 0.7889 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/1.129, allocations: 406.3 kB / 0.7893 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/1.129, allocations: 0 / 0.7893 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.626/2.755, allocations: 20.85 MB / 0.8097 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/16.32, allocations: 13.52 kB / 0.8097 GB, free: 1.789 MB / 0.5919 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)