Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.001723/0.001723, 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.001677/0.001677, allocations: 196.7 kB / 16.53 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.462/2.462, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 71.41 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2367, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1713/0.408, allocations: 168.3 MB / 1.228 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.4271, allocations: 17.06 MB / 1.245 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.4277, allocations: 27.81 kB / 1.245 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.4289, allocations: 0.5467 MB / 1.246 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.4319, allocations: 1.614 MB / 1.247 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.4344, allocations: 1.32 MB / 1.249 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4225/0.8569, allocations: 2.681 MB / 1.251 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.859, allocations: 1.873 MB / 1.253 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.862, allocations: 1.331 MB / 1.254 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000835/0.8629, allocations: 0.9931 MB / 1.255 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.8631, allocations: 207.8 kB / 1.255 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.865, allocations: 1.394 MB / 1.257 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.8653, allocations: 0.5547 MB / 1.257 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006638/0.866, allocations: 1.033 MB / 1.258 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.8685, allocations: 3.051 MB / 1.261 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8685, allocations: 1.359 kB / 1.261 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8685, allocations: 0.5625 kB / 1.261 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.461e-05/0.8685, allocations: 1.031 kB / 1.261 GB, free: 5.875 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.002979/0.8715, allocations: 2.291 MB / 1.264 GB, free: 20.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.8715, allocations: 12.14 kB / 1.264 GB, free: 20.78 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002329/0.8718, allocations: 246.9 kB / 1.264 GB, free: 20.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/0.8748, allocations: 0.5052 MB / 1.264 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.876, allocations: 1.089 MB / 1.265 GB, free: 20.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/0.8761, allocations: 128.9 kB / 1.265 GB, free: 20.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.8763, allocations: 168.5 kB / 1.266 GB, free: 20.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.8789, allocations: 1.838 MB / 1.267 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.8789, allocations: 1.484 kB / 1.267 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.8791, allocations: 74.75 kB / 1.268 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/0.8791, allocations: 42.39 kB / 1.268 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.8821, allocations: 1.878 MB / 1.269 GB, free: 20.06 MB / 1.014 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.006996/0.8891, allocations: 5.58 MB / 1.275 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.8917, allocations: 1.768 MB / 1.277 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009859/0.8927, allocations: 0.6507 MB / 1.277 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008738/0.8936, allocations: 0.8055 MB / 1.278 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.8949, allocations: 0.8924 MB / 1.279 GB, free: 16.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 2.635e-06/0.895, allocations: 0 / 1.279 GB, free: 16.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.005318/0.9003, allocations: 2.555 MB / 1.281 GB, free: 15.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.9004, allocations: 200.1 kB / 1.282 GB, free: 15.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008188/0.9012, allocations: 0.8285 MB / 1.282 GB, free: 15.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.9013, allocations: 57.73 kB / 1.282 GB, free: 15.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.9017, allocations: 0.6541 MB / 1.283 GB, free: 15.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.9019, allocations: 477.6 kB / 1.283 GB, free: 14.76 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/0.9022, allocations: 236.3 kB / 1.284 GB, free: 14.74 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.9024, allocations: 360.5 kB / 1.284 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000848/0.9032, allocations: 480.5 kB / 1.285 GB, free: 14.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009524/0.9042, allocations: 0.6304 MB / 1.285 GB, free: 14.31 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.906, allocations: 1.093 MB / 1.286 GB, free: 14.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.906, allocations: 0 / 1.286 GB, free: 14.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002931/0.9089, allocations: 1.5 MB / 1.288 GB, free: 14.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.909, allocations: 4.5 kB / 1.288 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.909, allocations: 2.188 kB / 1.288 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007938/0.9098, allocations: 195.7 kB / 1.288 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.9111, allocations: 333 kB / 1.288 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.9166, allocations: 7.288 MB / 1.295 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009498/0.9175, allocations: 137.7 kB / 1.295 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/0.9176, allocations: 53.7 kB / 1.295 GB, free: 7.223 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005065/0.9181, allocations: 390.2 kB / 1.296 GB, free: 7.094 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.9184, allocations: 133.7 kB / 1.296 GB, free: 7.027 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/0.9219, allocations: 1.853 MB / 1.298 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.9219, allocations: 15.62 kB / 1.298 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9219, allocations: 2 kB / 1.298 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.9219, allocations: 10.52 kB / 1.298 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/0.9267, allocations: 3.442 MB / 1.301 GB, free: 6.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.9267, allocations: 2.344 kB / 1.301 GB, free: 6.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.9279, allocations: 313.5 kB / 1.301 GB, free: 6.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006254/0.9286, allocations: 181.9 kB / 1.302 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-05/0.9287, allocations: 47.52 kB / 1.302 GB, free: 6.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005239/0.9339, allocations: 7.313 MB / 1.309 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9339, allocations: 0 / 1.309 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.9369, allocations: 1.715 MB / 1.311 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/0.9374, allocations: 410.4 kB / 1.311 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.9375, allocations: 30.5 kB / 1.311 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.9385, allocations: 103.2 kB / 1.311 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.9387, allocations: 112.8 kB / 1.311 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.9388, allocations: 70.77 kB / 1.311 GB, free: 15.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005711/0.9394, allocations: 0.5801 MB / 1.312 GB, free: 15.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9394, allocations: 0 / 1.312 GB, free: 15.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001223/0.9407, allocations: 0.6018 MB / 1.312 GB, free: 14.91 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005027/0.9457, allocations: 2.886 MB / 1.315 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004107/0.9498, allocations: 2.273 MB / 1.317 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.9498, allocations: 3.5 kB / 1.317 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.9515, allocations: 1.307 MB / 1.319 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.9533, allocations: 0.5253 MB / 1.319 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.9672, allocations: 10.52 MB / 1.329 GB, free: 9.289 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/0.9679, allocations: 1.294 MB / 1.331 GB, free: 8.555 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001442/0.9694, allocations: 436.7 kB / 1.331 GB, free: 8.414 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006556/0.97, allocations: 0.6525 MB / 1.332 GB, free: 8.402 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.97, allocations: 0 / 1.332 GB, free: 8.402 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 31.95/32.92, allocations: 37.25 MB / 1.368 GB, free: 7.641 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/45.54, allocations: 0 / 1.368 GB, free: 7.641 MB / 1.045 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)