Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",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.001094/0.001095, 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.001297/0.001297, allocations: 195.3 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.327/1.327, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.675/1.675, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001498/0.001499, allocations: 71.14 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2527, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6509/0.9036, allocations: 162.4 MB / 0.942 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004153/0.9078, allocations: 2.891 MB / 0.9449 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.9085, allocations: 14.28 kB / 0.9449 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007022/0.9092, allocations: 207.9 kB / 0.9451 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.9113, allocations: 0.77 MB / 0.9458 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.9121, allocations: 329.4 kB / 0.9461 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.9135, allocations: 0.9287 MB / 0.9471 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.9139, allocations: 252.2 kB / 0.9473 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.9146, allocations: 340.3 kB / 0.9476 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008668/0.9154, allocations: 285.8 kB / 0.9479 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.118e-05/0.9155, allocations: 33.59 kB / 0.9479 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.9173, allocations: 0.6496 MB / 0.9486 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.9175, allocations: 131.9 kB / 0.9487 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.9179, allocations: 208.1 kB / 0.9489 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.9195, allocations: 0.7415 MB / 0.9496 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9195, allocations: 0 / 0.9496 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9195, allocations: 0.5625 kB / 0.9496 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.9195, allocations: 0 / 0.9496 GB, free: 1.277 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001458/0.921, allocations: 0.7114 MB / 0.9503 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.921, allocations: 9.469 kB / 0.9503 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.172e-05/0.9211, allocations: 66.36 kB / 0.9504 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.9222, allocations: 131.4 kB / 0.9505 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.9229, allocations: 401.6 kB / 0.9509 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.9229, allocations: 21 kB / 0.9509 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.923, allocations: 23.09 kB / 0.9509 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.9234, allocations: 275.6 kB / 0.9512 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.9234, allocations: 0 / 0.9512 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.9235, allocations: 16.83 kB / 0.9512 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.9235, allocations: 8.719 kB / 0.9512 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.9238, allocations: 202.5 kB / 0.9514 GB, free: 16.39 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.001743/0.9256, allocations: 1.32 MB / 0.9527 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.926, allocations: 192.6 kB / 0.9529 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.9261, allocations: 89.91 kB / 0.953 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.9261, allocations: 2.094 kB / 0.953 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.9262, allocations: 37.75 kB / 0.953 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.9262, allocations: 5.125 kB / 0.953 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0009539/0.9271, allocations: 399 kB / 0.9534 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.9272, allocations: 53.59 kB / 0.9534 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.9275, allocations: 304 kB / 0.9537 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.9275, allocations: 30.02 kB / 0.9538 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.9277, allocations: 188.8 kB / 0.9539 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.9277, allocations: 71.47 kB / 0.954 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.9278, allocations: 44.42 kB / 0.954 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9279, allocations: 340.3 kB / 0.9544 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.9281, allocations: 62.39 kB / 0.9544 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.9282, allocations: 123.5 kB / 0.9545 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.9284, allocations: 201.8 kB / 0.9547 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9284, allocations: 1.188 kB / 0.9547 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003691/0.9288, allocations: 246.9 kB / 0.955 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.9288, allocations: 7.453 kB / 0.955 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.9289, allocations: 2 kB / 0.955 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.9289, allocations: 4.859 kB / 0.955 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.9291, allocations: 51.61 kB / 0.955 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.9291, allocations: 2.156 kB / 0.955 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.9294, allocations: 18.47 kB / 0.9551 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.9294, allocations: 5.75 kB / 0.9551 GB, free: 14.38 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.9296, allocations: 162.8 kB / 0.9552 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.9297, allocations: 34.97 kB / 0.9553 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.964e-05/0.9298, allocations: 35.73 kB / 0.9553 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.9298, allocations: 2.594 kB / 0.9553 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.9298, allocations: 3.984 kB / 0.9553 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.9298, allocations: 6.625 kB / 0.9553 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.9303, allocations: 400.9 kB / 0.9557 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9303, allocations: 0 / 0.9557 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.9305, allocations: 39.3 kB / 0.9557 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002184/0.9307, allocations: 43.69 kB / 0.9558 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.9307, allocations: 8.219 kB / 0.9558 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.932, allocations: 1.507 MB / 0.9572 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.932, allocations: 4.062 kB / 0.9572 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.9327, allocations: 420 kB / 0.9576 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.9329, allocations: 131.2 kB / 0.9578 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.9329, allocations: 13.88 kB / 0.9578 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.9332, allocations: 3.344 kB / 0.9578 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.9333, allocations: 13.8 kB / 0.9578 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.9333, allocations: 11.03 kB / 0.9578 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003013/0.9336, allocations: 214.5 kB / 0.958 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9336, allocations: 0 / 0.958 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005725/0.9342, allocations: 99.31 kB / 0.9581 GB, free: 12.29 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/0.9354, allocations: 0.9681 MB / 0.9591 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.9358, allocations: 180.9 kB / 0.9592 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.9358, allocations: 4.062 kB / 0.9592 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.9362, allocations: 199.7 kB / 0.9594 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.9372, allocations: 202 kB / 0.9596 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.9406, allocations: 2.919 MB / 0.9625 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.941, allocations: 0.7941 MB / 0.9632 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003037/0.9413, allocations: 58.95 kB / 0.9633 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.9414, allocations: 104.9 kB / 0.9634 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of SimCode: time 6.02e-07/0.9414, allocations: 0 / 0.9634 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.9713, allocations: 8.909 MB / 0.9721 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.401/10.37, allocations: 10.84 kB / 0.9721 GB, free: 6.84 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)