Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_8_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.00117/0.00117, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 193 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.66 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1969, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5023/0.6993, allocations: 156.7 MB / 0.9365 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.7205, allocations: 21.56 MB / 0.9576 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.7225, allocations: 50.62 kB / 0.9576 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.724, allocations: 1.158 MB / 0.9587 GB, free: 4.457 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001428/0.7255, allocations: 0.8581 MB / 0.9596 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009964/0.7265, allocations: 411.1 kB / 0.96 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.7279, allocations: 1.244 MB / 0.9612 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009078/0.7288, allocations: 0.6781 MB / 0.9619 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000977/0.7298, allocations: 0.5445 MB / 0.9624 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.7309, allocations: 0.9134 MB / 0.9633 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.731, allocations: 65.22 kB / 0.9633 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.7313, allocations: 111.8 kB / 0.9634 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.7315, allocations: 319.3 kB / 0.9638 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.7319, allocations: 496.5 kB / 0.9642 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009263/0.7328, allocations: 1.177 MB / 0.9654 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.7328, allocations: 0 / 0.9654 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7328, allocations: 0 / 0.9654 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.7329, allocations: 1.031 kB / 0.9654 GB, free: 3.801 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002179/0.735, allocations: 1.471 MB / 0.9668 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.7351, allocations: 8.281 kB / 0.9668 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.53e-05/0.7352, allocations: 88.34 kB / 0.9669 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.7354, allocations: 134.1 kB / 0.967 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.736, allocations: 0.6572 MB / 0.9677 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.7362, allocations: 72.34 kB / 0.9677 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.7362, allocations: 43.94 kB / 0.9678 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008388/0.7371, allocations: 0.5205 MB / 0.9683 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.7371, allocations: 0 / 0.9683 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.7372, allocations: 17.88 kB / 0.9683 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.7372, allocations: 11 kB / 0.9683 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.7379, allocations: 409.1 kB / 0.9687 GB, free: 18.3 MB / 0.7325 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.003232/0.7412, allocations: 2.8 MB / 0.9714 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009064/0.7421, allocations: 473.2 kB / 0.9719 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.7426, allocations: 283.4 kB / 0.9722 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.7426, allocations: 5.531 kB / 0.9722 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004893/0.7431, allocations: 306.5 kB / 0.9725 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.7431, allocations: 0 / 0.9725 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002655/0.7458, allocations: 1.241 MB / 0.9737 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.7459, allocations: 56.28 kB / 0.9737 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.7474, allocations: 1.753 MB / 0.9754 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.7474, allocations: 44.02 kB / 0.9755 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.7477, allocations: 0.5084 MB / 0.976 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.648e-05/0.7478, allocations: 149.2 kB / 0.9761 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.748, allocations: 98.27 kB / 0.9762 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7481, allocations: 326.7 kB / 0.9765 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/0.7485, allocations: 224.9 kB / 0.9767 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.749, allocations: 325.5 kB / 0.9771 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007552/0.7497, allocations: 0.5172 MB / 0.9776 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7498, allocations: 0 / 0.9776 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001478/0.7512, allocations: 0.8499 MB / 0.9784 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.7513, allocations: 5.031 kB / 0.9784 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7513, allocations: 9.375 kB / 0.9784 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004723/0.7518, allocations: 181.2 kB / 0.9786 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.7521, allocations: 96.17 kB / 0.9787 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/0.7552, allocations: 2.994 MB / 0.9816 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.7557, allocations: 77.89 kB / 0.9817 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.7557, allocations: 19.53 kB / 0.9817 GB, free: 10.74 MB / 0.7325 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,$PRE.mean.y,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.0004466/0.7562, allocations: 381.7 kB / 0.982 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.7563, allocations: 113.3 kB / 0.9822 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.7565, allocations: 142.9 kB / 0.9823 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.7566, allocations: 7.406 kB / 0.9823 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.7566, allocations: 4.812 kB / 0.9823 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.7566, allocations: 1.641 kB / 0.9823 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.7589, allocations: 1.574 MB / 0.9838 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.7589, allocations: 0 / 0.9838 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.7591, allocations: 45.67 kB / 0.9839 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/0.7595, allocations: 198.8 kB / 0.9841 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.7596, allocations: 13.23 kB / 0.9841 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004153/0.7637, allocations: 4.547 MB / 0.9885 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7638, allocations: 10.19 kB / 0.9885 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.7655, allocations: 1.063 MB / 0.9896 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/0.7658, allocations: 216 kB / 0.9898 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.7659, allocations: 12.92 kB / 0.9898 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.7662, allocations: 28.78 kB / 0.9898 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.7663, allocations: 52.23 kB / 0.9899 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.7663, allocations: 14.5 kB / 0.9899 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001292/0.7676, allocations: 1.276 MB / 0.9911 GB, free: 4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7677, allocations: 4 kB / 0.9911 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007182/0.7684, allocations: 207 kB / 0.9913 GB, free: 3.953 MB / 0.7325 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) * 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.00296/0.7713, allocations: 1.98 MB / 0.9933 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.7729, allocations: 0.7541 MB / 0.994 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.7729, allocations: 3.188 kB / 0.994 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/0.7737, allocations: 0.5532 MB / 0.9945 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/0.7747, allocations: 195.4 kB / 0.9947 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.7868, allocations: 9.122 MB / 1.004 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/0.7875, allocations: 1.155 MB / 1.005 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.7878, allocations: 88.88 kB / 1.005 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/0.7883, allocations: 407.7 kB / 1.005 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/0.7883, allocations: 0 / 1.005 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04767/0.836, allocations: 20.83 MB / 1.026 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.46, allocations: 10.23 kB / 1.026 GB, free: 10.14 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)