Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Boiler.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001088/0.001089, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.365/1.365, allocations: 205.1 MB / 222 MB, free: 4.738 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.668/1.668, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001319/0.001319, allocations: 70.25 kB / 0.6709 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1981, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5654/0.7635, allocations: 160.6 MB / 0.9397 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004826/0.7684, allocations: 3.38 MB / 0.943 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006979/0.7691, allocations: 14.56 kB / 0.943 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009017/0.7701, allocations: 243.4 kB / 0.9432 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.7723, allocations: 0.7976 MB / 0.944 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.7734, allocations: 397.1 kB / 0.9444 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.7749, allocations: 1.373 MB / 0.9457 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.7753, allocations: 271.3 kB / 0.946 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005456/0.7759, allocations: 352.3 kB / 0.9463 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009035/0.7768, allocations: 355.3 kB / 0.9466 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.7769, allocations: 16.81 kB / 0.9467 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.7784, allocations: 0.7892 MB / 0.9474 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.7787, allocations: 148.4 kB / 0.9476 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.779, allocations: 249.1 kB / 0.9478 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.7803, allocations: 0.9505 MB / 0.9487 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7803, allocations: 1.094 kB / 0.9487 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7803, allocations: 0.6094 kB / 0.9487 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.7803, allocations: 7.938 kB / 0.9487 GB, free: 5.551 MB / 0.7325 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.001685/0.782, allocations: 0.864 MB / 0.9496 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.7821, allocations: 10.12 kB / 0.9496 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.368e-05/0.7821, allocations: 61.78 kB / 0.9496 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.7833, allocations: 152.6 kB / 0.9498 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/0.784, allocations: 490.5 kB / 0.9503 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.7841, allocations: 22.72 kB / 0.9503 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.7842, allocations: 27.52 kB / 0.9503 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.7847, allocations: 325.7 kB / 0.9506 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.7848, allocations: 1.062 kB / 0.9506 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.7848, allocations: 13.09 kB / 0.9506 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.7848, allocations: 10.38 kB / 0.9506 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.7853, allocations: 216.6 kB / 0.9509 GB, free: 20.58 MB / 0.7481 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.001854/0.7871, allocations: 1.416 MB / 0.9522 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.7875, allocations: 228.2 kB / 0.9525 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.7877, allocations: 108.8 kB / 0.9526 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.7878, allocations: 3.5 kB / 0.9526 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.7881, allocations: 172.3 kB / 0.9527 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/0.7881, allocations: 0 / 0.9527 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.003013/0.7911, allocations: 1.151 MB / 0.9538 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.7911, allocations: 59.72 kB / 0.9539 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.7918, allocations: 461.7 kB / 0.9543 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.7918, allocations: 31.55 kB / 0.9544 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.792, allocations: 233.3 kB / 0.9546 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.048e-05/0.7921, allocations: 106.5 kB / 0.9547 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.7922, allocations: 81.78 kB / 0.9548 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7923, allocations: 357.5 kB / 0.9551 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.7926, allocations: 132.1 kB / 0.9552 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.7929, allocations: 195.6 kB / 0.9554 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.7935, allocations: 328.2 kB / 0.9557 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.7935, allocations: 0.6562 kB / 0.9557 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001123/0.7946, allocations: 0.4928 MB / 0.9562 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.7947, allocations: 8.719 kB / 0.9562 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.7947, allocations: 0.9375 kB / 0.9562 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003675/0.7951, allocations: 88.47 kB / 0.9563 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.7953, allocations: 71.33 kB / 0.9564 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.7971, allocations: 1.773 MB / 0.9581 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.7975, allocations: 24.81 kB / 0.9581 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.7975, allocations: 13.59 kB / 0.9582 GB, free: 17.02 MB / 0.7481 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 (42): * Single equations (assignments): 41 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.7978, allocations: 188.9 kB / 0.9583 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.7979, allocations: 53.14 kB / 0.9584 GB, free: 16.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.683e-05/0.798, allocations: 53.19 kB / 0.9584 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.798, allocations: 9.828 kB / 0.9584 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.798, allocations: 5.25 kB / 0.9585 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.798, allocations: 0 / 0.9585 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.7995, allocations: 1.014 MB / 0.9594 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.7995, allocations: 4.906 kB / 0.9594 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.7999, allocations: 69.53 kB / 0.9595 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/0.8002, allocations: 85.98 kB / 0.9596 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.8002, allocations: 7.75 kB / 0.9596 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.8014, allocations: 1.539 MB / 0.9611 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8014, allocations: 1.094 kB / 0.9611 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.8024, allocations: 0.5899 MB / 0.9617 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.8026, allocations: 152.4 kB / 0.9618 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.587e-05/0.8027, allocations: 10.66 kB / 0.9618 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.8031, allocations: 19.27 kB / 0.9619 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.8031, allocations: 25.89 kB / 0.9619 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.8032, allocations: 11.88 kB / 0.9619 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003206/0.8035, allocations: 307.1 kB / 0.9622 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.052e-06/0.8035, allocations: 0 / 0.9622 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005681/0.8041, allocations: 134.6 kB / 0.9623 GB, free: 14.86 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (27): * Single equations (assignments): 24 * 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.002133/0.8062, allocations: 1.451 MB / 0.9637 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009185/0.8071, allocations: 479.8 kB / 0.9642 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8072, allocations: 0 / 0.9642 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.8075, allocations: 249 kB / 0.9644 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.8086, allocations: 234.4 kB / 0.9646 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/0.8143, allocations: 4.38 MB / 0.9689 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.8147, allocations: 0.8521 MB / 0.9698 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004079/0.8151, allocations: 87.28 kB / 0.9698 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.8154, allocations: 156.5 kB / 0.97 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.8154, allocations: 0 / 0.97 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.853, allocations: 12.37 MB / 0.9821 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.8533, allocations: 258.6 kB / 0.9823 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.939, allocations: 0 / 0.9823 GB, free: 9.676 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)