Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_10_Buildings_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.007133/0.007133, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001826/0.001826, allocations: 192 kB / 16.67 MB, free: 5.48 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.482/2.482, allocations: 437.1 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 71.89 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6679/0.6698, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1734/0.8432, allocations: 156.8 MB / 1.319 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0257/0.8689, allocations: 21.75 MB / 1.34 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.8704, allocations: 51.69 kB / 1.341 GB, free: 0.543 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.8719, allocations: 1.161 MB / 1.342 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.8732, allocations: 0.8639 MB / 1.343 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009376/0.8741, allocations: 438 kB / 1.343 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.8754, allocations: 1.255 MB / 1.344 GB, free: 12.83 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000767/0.8762, allocations: 0.6869 MB / 1.345 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/0.8768, allocations: 0.5413 MB / 1.345 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.8778, allocations: 0.9138 MB / 1.346 GB, free: 10.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.8779, allocations: 68 kB / 1.346 GB, free: 10.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.8781, allocations: 120 kB / 1.346 GB, free: 10.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.8784, allocations: 320.7 kB / 1.347 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004277/0.8789, allocations: 488.8 kB / 1.347 GB, free: 9.699 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.8801, allocations: 1.205 MB / 1.348 GB, free: 8.492 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8801, allocations: 0 / 1.348 GB, free: 8.492 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8801, allocations: 0 / 1.348 GB, free: 8.492 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.8801, allocations: 3.938 kB / 1.348 GB, free: 8.488 MB / 1.076 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.002197/0.8823, allocations: 1.532 MB / 1.35 GB, free: 6.902 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.8824, allocations: 12.92 kB / 1.35 GB, free: 6.891 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.8825, allocations: 82.7 kB / 1.35 GB, free: 6.801 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.8827, allocations: 140 kB / 1.35 GB, free: 6.664 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.8835, allocations: 0.6676 MB / 1.351 GB, free: 5.945 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.8837, allocations: 74.69 kB / 1.351 GB, free: 5.863 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/0.8838, allocations: 59.97 kB / 1.351 GB, free: 5.805 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.8847, allocations: 0.5145 MB / 1.351 GB, free: 5.277 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.8847, allocations: 3.938 kB / 1.351 GB, free: 5.273 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.8848, allocations: 19.94 kB / 1.351 GB, free: 5.254 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.8848, allocations: 12 kB / 1.351 GB, free: 5.242 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000851/0.8857, allocations: 407.7 kB / 1.352 GB, free: 4.844 MB / 1.076 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.003526/0.8892, allocations: 2.8 MB / 1.355 GB, free: 1.797 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.8902, allocations: 456 kB / 1.355 GB, free: 1.344 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.8908, allocations: 281.3 kB / 1.355 GB, free: 1.066 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.8909, allocations: 8.328 kB / 1.355 GB, free: 1.059 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005734/0.8914, allocations: 302.4 kB / 1.356 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 1.784e-06/0.8915, allocations: 0 / 1.356 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.002986/0.8944, allocations: 1.251 MB / 1.357 GB, free: 15.45 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.8945, allocations: 59.39 kB / 1.357 GB, free: 15.38 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.8964, allocations: 1.752 MB / 1.359 GB, free: 13.62 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.8964, allocations: 41.7 kB / 1.359 GB, free: 13.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/0.8969, allocations: 0.5182 MB / 1.359 GB, free: 13.05 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.897, allocations: 146.8 kB / 1.359 GB, free: 12.91 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.8972, allocations: 98.19 kB / 1.359 GB, free: 12.8 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8973, allocations: 330 kB / 1.36 GB, free: 12.48 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.8978, allocations: 225 kB / 1.36 GB, free: 12.26 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.8984, allocations: 328.9 kB / 1.36 GB, free: 11.9 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009643/0.8994, allocations: 0.5148 MB / 1.361 GB, free: 11.35 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.8994, allocations: 3.938 kB / 1.361 GB, free: 11.34 MB / 1.092 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001659/0.9011, allocations: 0.8403 MB / 1.361 GB, free: 10.5 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.9011, allocations: 12.03 kB / 1.361 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9011, allocations: 0 / 1.361 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.9017, allocations: 189 kB / 1.362 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.902, allocations: 99.88 kB / 1.362 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.9056, allocations: 3.001 MB / 1.365 GB, free: 7.062 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.9061, allocations: 75.69 kB / 1.365 GB, free: 6.988 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.9061, allocations: 27.94 kB / 1.365 GB, free: 6.961 MB / 1.092 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.0004639/0.9066, allocations: 379.3 kB / 1.365 GB, free: 6.582 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.9067, allocations: 127.2 kB / 1.365 GB, free: 6.457 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.9069, allocations: 147.6 kB / 1.365 GB, free: 6.305 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.907, allocations: 4 kB / 1.365 GB, free: 6.301 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/0.907, allocations: 4 kB / 1.365 GB, free: 6.297 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.907, allocations: 7.922 kB / 1.365 GB, free: 6.289 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.9094, allocations: 1.555 MB / 1.367 GB, free: 4.676 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9095, allocations: 3.984 kB / 1.367 GB, free: 4.672 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.9097, allocations: 47.91 kB / 1.367 GB, free: 4.625 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/0.9102, allocations: 195.4 kB / 1.367 GB, free: 4.43 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.9102, allocations: 11.98 kB / 1.367 GB, free: 4.418 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004591/0.9148, allocations: 4.554 MB / 1.372 GB, free: 15.59 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9148, allocations: 3.938 kB / 1.372 GB, free: 15.59 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.9168, allocations: 1.063 MB / 1.373 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.9171, allocations: 224.1 kB / 1.373 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/0.9172, allocations: 12 kB / 1.373 GB, free: 14.25 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.9175, allocations: 27.97 kB / 1.373 GB, free: 14.23 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.9176, allocations: 51.92 kB / 1.373 GB, free: 14.18 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.9177, allocations: 19.98 kB / 1.373 GB, free: 14.16 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001442/0.9191, allocations: 1.28 MB / 1.374 GB, free: 12.87 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9191, allocations: 0 / 1.374 GB, free: 12.87 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007422/0.9199, allocations: 203.8 kB / 1.374 GB, free: 12.67 MB / 1.107 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.003796/0.9237, allocations: 1.988 MB / 1.376 GB, free: 10.84 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.9252, allocations: 0.7235 MB / 1.377 GB, free: 10.11 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9252, allocations: 0 / 1.377 GB, free: 10.11 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009057/0.9261, allocations: 0.5517 MB / 1.378 GB, free: 9.527 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.9271, allocations: 211.6 kB / 1.378 GB, free: 9.328 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.9392, allocations: 8.61 MB / 1.386 GB, free: 0.5 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008699/0.9401, allocations: 1.153 MB / 1.387 GB, free: 15.32 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.9404, allocations: 92.66 kB / 1.387 GB, free: 15.23 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/0.9408, allocations: 407.3 kB / 1.388 GB, free: 14.83 MB / 1.123 GB Notification: Performance of SimCode: time 6.11e-07/0.9408, allocations: 0 / 1.388 GB, free: 14.83 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.747/2.688, allocations: 21.25 MB / 1.409 GB, free: 9.781 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.22/20.91, allocations: 14.41 kB / 1.409 GB, free: 9.77 MB / 1.139 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)