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.00104/0.001041, 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.001013/0.001013, allocations: 198.7 kB / 16.54 MB, free: 6.664 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.419/2.419, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.62/0.6213, allocations: 151.6 MB / 1.017 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.157/0.7783, allocations: 156.8 MB / 1.17 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02552/0.8039, allocations: 21.74 MB / 1.192 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.8059, allocations: 51.69 kB / 1.192 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.8077, allocations: 1.161 MB / 1.193 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.8094, allocations: 0.86 MB / 1.194 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.8106, allocations: 441.6 kB / 1.194 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.8121, allocations: 1.247 MB / 1.195 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009205/0.8131, allocations: 0.6893 MB / 1.196 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007663/0.8138, allocations: 0.5413 MB / 1.197 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.8149, allocations: 0.9216 MB / 1.197 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.8151, allocations: 64 kB / 1.198 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.8154, allocations: 112 kB / 1.198 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.8157, allocations: 316.7 kB / 1.198 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.8161, allocations: 0.489 MB / 1.198 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.8172, allocations: 1.176 MB / 1.2 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8172, allocations: 0 / 1.2 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8172, allocations: 0 / 1.2 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.125e-05/0.8172, allocations: 0 / 1.2 GB, free: 7.383 MB / 0.9512 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.002289/0.8195, allocations: 1.482 MB / 1.201 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.8196, allocations: 12.03 kB / 1.201 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.8197, allocations: 82.72 kB / 1.201 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.8199, allocations: 135.3 kB / 1.201 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008245/0.8208, allocations: 0.6547 MB / 1.202 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.8209, allocations: 74.69 kB / 1.202 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/0.821, allocations: 48 kB / 1.202 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008999/0.8219, allocations: 0.5223 MB / 1.203 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.8219, allocations: 3.984 kB / 1.203 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.822, allocations: 16 kB / 1.203 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.822, allocations: 12 kB / 1.203 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/0.8228, allocations: 407.7 kB / 1.203 GB, free: 3.816 MB / 0.9512 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.00349/0.8263, allocations: 2.815 MB / 1.206 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.8273, allocations: 455.3 kB / 1.206 GB, free: 304 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/0.8279, allocations: 283.1 kB / 1.206 GB, free: 20 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.8279, allocations: 8.656 kB / 1.206 GB, free: 12 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005578/0.8285, allocations: 305.7 kB / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 4.028e-06/0.8285, allocations: 0 / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.002859/0.8314, allocations: 1.241 MB / 1.208 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.8314, allocations: 71.38 kB / 1.208 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.8332, allocations: 1.752 MB / 1.21 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.8333, allocations: 37.7 kB / 1.21 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.8337, allocations: 0.5179 MB / 1.21 GB, free: 12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.8338, allocations: 145.9 kB / 1.21 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.834, allocations: 94.25 kB / 1.21 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8341, allocations: 330 kB / 1.211 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.8346, allocations: 221 kB / 1.211 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.8351, allocations: 324.9 kB / 1.211 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009087/0.836, allocations: 0.5098 MB / 1.212 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.8361, allocations: 7.938 kB / 1.212 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001608/0.8377, allocations: 0.8371 MB / 1.213 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.8377, allocations: 12.22 kB / 1.213 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.8377, allocations: 4 kB / 1.213 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005197/0.8383, allocations: 188.6 kB / 1.213 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.8386, allocations: 91.88 kB / 1.213 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.842, allocations: 2.999 MB / 1.216 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.8425, allocations: 75.55 kB / 1.216 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.8425, allocations: 20 kB / 1.216 GB, free: 5.938 MB / 0.9669 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.0004624/0.843, allocations: 391.2 kB / 1.216 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.8431, allocations: 114.5 kB / 1.216 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.8434, allocations: 139.7 kB / 1.217 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.8434, allocations: 8 kB / 1.217 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.8434, allocations: 3.984 kB / 1.217 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.8434, allocations: 0 / 1.217 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.8458, allocations: 1.574 MB / 1.218 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.8458, allocations: 4 kB / 1.218 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.8461, allocations: 39.97 kB / 1.218 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.8465, allocations: 191.8 kB / 1.218 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.8466, allocations: 19.98 kB / 1.218 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004177/0.8508, allocations: 4.557 MB / 1.223 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.8508, allocations: 0 / 1.223 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.8526, allocations: 1.06 MB / 1.224 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.8529, allocations: 211.6 kB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.853, allocations: 12 kB / 1.224 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.8533, allocations: 27.91 kB / 1.224 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.8534, allocations: 55.92 kB / 1.224 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.8535, allocations: 15.98 kB / 1.224 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001288/0.8548, allocations: 1.284 MB / 1.225 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8548, allocations: 0 / 1.225 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007391/0.8555, allocations: 203.7 kB / 1.226 GB, free: 11.65 MB / 0.9825 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.003007/0.8585, allocations: 1.976 MB / 1.227 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.8601, allocations: 0.7615 MB / 1.228 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.8602, allocations: 4 kB / 1.228 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008475/0.861, allocations: 0.5521 MB / 1.229 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.862, allocations: 208.9 kB / 1.229 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.8738, allocations: 9.144 MB / 1.238 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.8745, allocations: 1.149 MB / 1.239 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002799/0.8748, allocations: 92.72 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/0.8752, allocations: 411.3 kB / 1.24 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.8753, allocations: 0 / 1.24 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5048/1.38, allocations: 20.85 MB / 1.26 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.553/10.93, allocations: 9.578 kB / 1.26 GB, free: 230.9 MB / 0.9981 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=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)