Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.Boiler.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 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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_Boiler_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.00459/0.00459, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.00127/0.00127, allocations: 188 kB / 16.67 MB, free: 5.914 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.121 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.621/2.621, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 67.91 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2602, allocations: 159.1 MB / 1.22 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6454/0.9057, allocations: 162.9 MB / 1.379 GB, free: 6.027 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004943/0.9107, allocations: 3.496 MB / 1.383 GB, free: 3.566 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003437/0.911, allocations: 20.41 kB / 1.383 GB, free: 3.559 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.9117, allocations: 273.5 kB / 1.383 GB, free: 3.391 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.9135, allocations: 0.8616 MB / 1.384 GB, free: 2.719 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.9145, allocations: 472.2 kB / 1.384 GB, free: 2.367 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.9156, allocations: 1.103 MB / 1.385 GB, free: 1.719 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.916, allocations: 325.5 kB / 1.386 GB, free: 1.5 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.9166, allocations: 402.7 kB / 1.386 GB, free: 1.266 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007587/0.9174, allocations: 347.2 kB / 1.386 GB, free: 1.062 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.9174, allocations: 39.81 kB / 1.386 GB, free: 1.062 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.9185, allocations: 0.7029 MB / 1.387 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.9187, allocations: 169.2 kB / 1.387 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.919, allocations: 268.5 kB / 1.387 GB, free: 396 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.9202, allocations: 0.9412 MB / 1.388 GB, free: 15.77 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9202, allocations: 3.984 kB / 1.388 GB, free: 15.77 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9202, allocations: 1.312 kB / 1.388 GB, free: 15.77 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.9202, allocations: 0 / 1.388 GB, free: 15.77 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001296/0.9215, allocations: 0.8808 MB / 1.389 GB, free: 15.02 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.9216, allocations: 9.75 kB / 1.389 GB, free: 15.02 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.562e-05/0.9216, allocations: 68.94 kB / 1.389 GB, free: 14.96 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009283/0.9226, allocations: 158 kB / 1.389 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006925/0.9233, allocations: 0.5025 MB / 1.39 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.9233, allocations: 20.84 kB / 1.39 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.9234, allocations: 30.44 kB / 1.39 GB, free: 14.43 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.9239, allocations: 317.7 kB / 1.39 GB, free: 14.24 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.9239, allocations: 1.094 kB / 1.39 GB, free: 14.24 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.9239, allocations: 10.5 kB / 1.39 GB, free: 14.23 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.924, allocations: 10.62 kB / 1.39 GB, free: 14.23 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.9244, allocations: 236 kB / 1.391 GB, free: 14.11 MB / 1.092 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.001795/0.9262, allocations: 1.419 MB / 1.392 GB, free: 12.82 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.9265, allocations: 217.4 kB / 1.392 GB, free: 12.7 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.9267, allocations: 110.8 kB / 1.392 GB, free: 12.64 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.9268, allocations: 7.031 kB / 1.392 GB, free: 12.64 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.927, allocations: 162.8 kB / 1.392 GB, free: 12.52 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.927, allocations: 0 / 1.392 GB, free: 12.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=29): time 0.002596/0.9296, allocations: 1.096 MB / 1.393 GB, free: 11.8 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.9297, allocations: 61.59 kB / 1.394 GB, free: 11.73 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.9302, allocations: 461.6 kB / 1.394 GB, free: 11.46 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.9302, allocations: 32.05 kB / 1.394 GB, free: 11.43 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.9304, allocations: 237.9 kB / 1.394 GB, free: 11.21 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.9305, allocations: 107.8 kB / 1.394 GB, free: 11.12 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.9306, allocations: 76.98 kB / 1.394 GB, free: 11.07 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.9308, allocations: 353.1 kB / 1.395 GB, free: 10.73 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.931, allocations: 128.4 kB / 1.395 GB, free: 10.66 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.9313, allocations: 189.4 kB / 1.395 GB, free: 10.54 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.9317, allocations: 307.8 kB / 1.395 GB, free: 10.35 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9317, allocations: 1.094 kB / 1.395 GB, free: 10.35 MB / 1.092 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009107/0.9327, allocations: 492.7 kB / 1.396 GB, free: 10.08 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.9327, allocations: 11.03 kB / 1.396 GB, free: 10.08 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9327, allocations: 2.375 kB / 1.396 GB, free: 10.08 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.933, allocations: 80.64 kB / 1.396 GB, free: 10.04 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.9333, allocations: 68.28 kB / 1.396 GB, free: 10.02 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.935, allocations: 1.908 MB / 1.398 GB, free: 8.203 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.9353, allocations: 16.3 kB / 1.398 GB, free: 8.191 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.9354, allocations: 13.59 kB / 1.398 GB, free: 8.188 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.9356, allocations: 193.2 kB / 1.398 GB, free: 8.023 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.9357, allocations: 54.08 kB / 1.398 GB, free: 7.992 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.9358, allocations: 53.62 kB / 1.398 GB, free: 7.953 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.9358, allocations: 4 kB / 1.398 GB, free: 7.953 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9358, allocations: 1.562 kB / 1.398 GB, free: 7.953 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.9358, allocations: 8.047 kB / 1.398 GB, free: 7.945 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.9373, allocations: 0.9676 MB / 1.399 GB, free: 7.207 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.9373, allocations: 0.875 kB / 1.399 GB, free: 7.207 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.9376, allocations: 62.25 kB / 1.399 GB, free: 7.195 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002811/0.9379, allocations: 78.66 kB / 1.399 GB, free: 7.148 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.9379, allocations: 15.38 kB / 1.399 GB, free: 7.137 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.9394, allocations: 1.646 MB / 1.401 GB, free: 5.531 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9394, allocations: 0 / 1.401 GB, free: 5.531 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.9404, allocations: 0.5785 MB / 1.401 GB, free: 5.152 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.9405, allocations: 150.5 kB / 1.402 GB, free: 5.008 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/0.9406, allocations: 15.44 kB / 1.402 GB, free: 4.996 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.9409, allocations: 12.8 kB / 1.402 GB, free: 4.988 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.941, allocations: 25.61 kB / 1.402 GB, free: 4.973 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.941, allocations: 16.09 kB / 1.402 GB, free: 4.965 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003235/0.9413, allocations: 306.5 kB / 1.402 GB, free: 4.785 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9413, allocations: 0 / 1.402 GB, free: 4.785 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004739/0.9418, allocations: 123.9 kB / 1.402 GB, free: 4.77 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,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.002622/0.9445, allocations: 1.457 MB / 1.403 GB, free: 3.734 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006776/0.9451, allocations: 420.3 kB / 1.404 GB, free: 3.477 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9452, allocations: 1.344 kB / 1.404 GB, free: 3.477 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.9455, allocations: 250.2 kB / 1.404 GB, free: 3.293 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.9465, allocations: 243.2 kB / 1.404 GB, free: 3.176 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/0.9519, allocations: 4.145 MB / 1.408 GB, free: 372 kB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.9523, allocations: 0.8532 MB / 1.409 GB, free: 15.58 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003012/0.9526, allocations: 92.7 kB / 1.409 GB, free: 15.54 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.9529, allocations: 146.6 kB / 1.409 GB, free: 15.42 MB / 1.107 GB Notification: Performance of SimCode: time 2.6e-07/0.9529, allocations: 0 / 1.409 GB, free: 15.42 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.301/3.254, allocations: 12.89 MB / 1.422 GB, free: 6.43 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.22/24.47, allocations: 9.656 kB / 1.422 GB, free: 6.422 MB / 1.107 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)