Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.002535/0.002535, allocations: 107 kB / 16.4 MB, free: 6.461 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.002856/0.002855, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.796/2.796, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.506/1.506, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.95 kB / 0.5572 GB, free: 32.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3135, allocations: 76.18 MB / 0.6316 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 1.366/1.68, allocations: 156.7 MB / 0.7846 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05342/1.733, allocations: 21.75 MB / 0.8058 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006652/1.74, allocations: 51.03 kB / 0.8059 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004259/1.744, allocations: 1.166 MB / 0.807 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00475/1.749, allocations: 0.8492 MB / 0.8079 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/1.753, allocations: 446.2 kB / 0.8083 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004309/1.757, allocations: 1.259 MB / 0.8095 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002566/1.76, allocations: 0.695 MB / 0.8102 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/1.762, allocations: 0.5586 MB / 0.8107 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/1.765, allocations: 0.9174 MB / 0.8116 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004861/1.765, allocations: 65.47 kB / 0.8117 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009932/1.766, allocations: 102.6 kB / 0.8118 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007633/1.767, allocations: 317.1 kB / 0.8121 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001586/1.769, allocations: 498 kB / 0.8126 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003445/1.772, allocations: 1.196 MB / 0.8137 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/1.772, allocations: 0 / 0.8137 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.577e-06/1.772, allocations: 5.781 kB / 0.8137 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.073e-05/1.772, allocations: 3.984 kB / 0.8137 GB, free: 8.449 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.005704/1.778, allocations: 1.48 MB / 0.8152 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.157e-05/1.778, allocations: 10.09 kB / 0.8152 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002831/1.778, allocations: 81.58 kB / 0.8153 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005685/1.779, allocations: 137 kB / 0.8154 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/1.781, allocations: 0.6587 MB / 0.8161 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/1.781, allocations: 74.44 kB / 0.8161 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/1.782, allocations: 46 kB / 0.8162 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/1.784, allocations: 0.5223 MB / 0.8167 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/1.784, allocations: 3 kB / 0.8167 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-05/1.784, allocations: 18.33 kB / 0.8167 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/1.784, allocations: 10.38 kB / 0.8167 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/1.785, allocations: 414.2 kB / 0.8171 GB, free: 6.008 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.008094/1.793, allocations: 2.716 MB / 0.8198 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/1.795, allocations: 458 kB / 0.8202 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/1.796, allocations: 312.7 kB / 0.8205 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/1.796, allocations: 2.734 kB / 0.8205 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009278/1.797, allocations: 287.1 kB / 0.8208 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 7.835e-06/1.797, allocations: 0 / 0.8208 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.004521/1.802, allocations: 1.147 MB / 0.8219 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.802, allocations: 66.78 kB / 0.822 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004663/1.807, allocations: 1.758 MB / 0.8237 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/1.807, allocations: 44.88 kB / 0.8237 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008822/1.808, allocations: 0.5282 MB / 0.8242 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000352/1.808, allocations: 139.9 kB / 0.8244 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/1.809, allocations: 98.31 kB / 0.8245 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002258/1.809, allocations: 330.4 kB / 0.8248 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008913/1.81, allocations: 211.7 kB / 0.825 GB, free: 436 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/1.811, allocations: 335.5 kB / 0.8253 GB, free: 180 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/1.812, allocations: 0.5221 MB / 0.8258 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/1.812, allocations: 3.938 kB / 0.8258 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003214/1.816, allocations: 0.804 MB / 0.8266 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/1.816, allocations: 6.812 kB / 0.8266 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.816, allocations: 2.562 kB / 0.8266 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008029/1.817, allocations: 139.8 kB / 0.8267 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006948/1.817, allocations: 103.2 kB / 0.8268 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004918/1.822, allocations: 2.603 MB / 0.8294 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/1.824, allocations: 79.11 kB / 0.8294 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.824, allocations: 21.41 kB / 0.8295 GB, free: 13.03 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001269/1.825, allocations: 385 kB / 0.8298 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006163/1.826, allocations: 115.3 kB / 0.8299 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/1.826, allocations: 140 kB / 0.8301 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.826, allocations: 5.25 kB / 0.8301 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.208e-05/1.826, allocations: 2.562 kB / 0.8301 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/1.826, allocations: 3.984 kB / 0.8301 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00544/1.832, allocations: 1.497 MB / 0.8316 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.832, allocations: 0 / 0.8316 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/1.832, allocations: 48.78 kB / 0.8316 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007662/1.833, allocations: 165.3 kB / 0.8318 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/1.833, allocations: 13.92 kB / 0.8318 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006766/1.84, allocations: 4.018 MB / 0.8357 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/1.84, allocations: 2.719 kB / 0.8357 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/1.844, allocations: 0.9998 MB / 0.8367 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.845, allocations: 205.1 kB / 0.8369 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/1.845, allocations: 17.33 kB / 0.8369 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007951/1.846, allocations: 24.81 kB / 0.8369 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/1.846, allocations: 54.33 kB / 0.837 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/1.847, allocations: 16.59 kB / 0.837 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003506/1.85, allocations: 1.292 MB / 0.8382 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.11e-07/1.85, allocations: 0 / 0.8382 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001918/1.852, allocations: 197.9 kB / 0.8384 GB, free: 6.355 MB / 0.6075 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,12,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.006038/1.858, allocations: 1.908 MB / 0.8403 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002577/1.861, allocations: 0.6675 MB / 0.8409 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.861, allocations: 4.188 kB / 0.8409 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0015/1.862, allocations: 0.5245 MB / 0.8415 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/1.865, allocations: 197.3 kB / 0.8416 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02793/1.893, allocations: 8.51 MB / 0.85 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/1.895, allocations: 1.153 MB / 0.8511 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007538/1.896, allocations: 96.75 kB / 0.8512 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.897, allocations: 407.3 kB / 0.8516 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of SimCode: time 3.336e-06/1.897, allocations: 4 kB / 0.8516 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/2.004, allocations: 21.18 MB / 0.8722 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.86/23.86, allocations: 14.77 kB / 0.8723 GB, free: 4.305 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)