Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 188.2 kB / 326.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 97.92 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 9.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2266, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.168/0.3946, allocations: 136.9 MB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006015/0.4007, allocations: 3.221 MB / 1.037 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/0.4014, allocations: 11.94 kB / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009586/0.4024, allocations: 282.7 kB / 1.037 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.405, allocations: 0.7968 MB / 1.038 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.4066, allocations: 0.5074 MB / 1.039 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.4078, allocations: 0.6676 MB / 1.039 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004016/0.4082, allocations: 254.5 kB / 1.039 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.4087, allocations: 326.8 kB / 1.04 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.4091, allocations: 235 kB / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.4092, allocations: 20 kB / 1.04 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.41, allocations: 303.5 kB / 1.04 GB, free: 72 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.4101, allocations: 135.6 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.4103, allocations: 121.5 kB / 1.04 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006883/0.411, allocations: 0.6275 MB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.411, allocations: 0 / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.411, allocations: 0 / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.411, allocations: 0 / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00134/0.4123, allocations: 0.7553 MB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4124, allocations: 8.031 kB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.494e-05/0.4125, allocations: 66.53 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009894/0.4135, allocations: 159.2 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007245/0.4142, allocations: 469.4 kB / 1.043 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.4143, allocations: 20.66 kB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.4143, allocations: 28 kB / 1.043 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.4149, allocations: 332.9 kB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4149, allocations: 0 / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.415, allocations: 12 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.415, allocations: 12.5 kB / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.4155, allocations: 218.1 kB / 1.043 GB, free: 13.02 MB / 0.698 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.001914/0.4174, allocations: 1.43 MB / 1.044 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.4178, allocations: 212.7 kB / 1.045 GB, free: 11.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.4178, allocations: 8 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.4181, allocations: 156.4 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.044e-06/0.4182, allocations: 4 kB / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.003013/0.4212, allocations: 1.142 MB / 1.046 GB, free: 9.863 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.4212, allocations: 51.41 kB / 1.046 GB, free: 9.801 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.4218, allocations: 461.8 kB / 1.046 GB, free: 9.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.4218, allocations: 37.7 kB / 1.047 GB, free: 9.301 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.422, allocations: 236.2 kB / 1.047 GB, free: 9.062 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.4221, allocations: 102.5 kB / 1.047 GB, free: 8.961 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.4222, allocations: 8 kB / 1.047 GB, free: 8.953 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4223, allocations: 354.8 kB / 1.047 GB, free: 8.598 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.4225, allocations: 132.8 kB / 1.047 GB, free: 8.469 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.4228, allocations: 194.1 kB / 1.047 GB, free: 8.258 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.4231, allocations: 159.8 kB / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4231, allocations: 0 / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009828/0.4241, allocations: 493.3 kB / 1.048 GB, free: 7.609 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4241, allocations: 4 kB / 1.048 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4241, allocations: 4 kB / 1.048 GB, free: 7.602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.4245, allocations: 84.94 kB / 1.048 GB, free: 7.516 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.4248, allocations: 71.91 kB / 1.048 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.4267, allocations: 1.764 MB / 1.05 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.4271, allocations: 27.95 kB / 1.05 GB, free: 5.523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.4271, allocations: 16.06 kB / 1.05 GB, free: 5.508 MB / 0.698 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 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.4274, allocations: 197.7 kB / 1.05 GB, free: 5.305 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.4275, allocations: 51.39 kB / 1.05 GB, free: 5.254 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.4276, allocations: 56.56 kB / 1.05 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4276, allocations: 4 kB / 1.05 GB, free: 5.195 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4276, allocations: 0 / 1.05 GB, free: 5.195 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4276, allocations: 3.938 kB / 1.05 GB, free: 5.191 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.4293, allocations: 1.02 MB / 1.051 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4293, allocations: 0 / 1.051 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.4297, allocations: 67.91 kB / 1.051 GB, free: 4.043 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003036/0.43, allocations: 76.81 kB / 1.051 GB, free: 3.965 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.43, allocations: 8 kB / 1.051 GB, free: 3.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.4315, allocations: 1.577 MB / 1.053 GB, free: 2.242 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4315, allocations: 0 / 1.053 GB, free: 2.242 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.4326, allocations: 0.5965 MB / 1.054 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.4328, allocations: 148.6 kB / 1.054 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.4329, allocations: 15.94 kB / 1.054 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.4332, allocations: 27.88 kB / 1.054 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.4333, allocations: 15.97 kB / 1.054 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.4334, allocations: 16 kB / 1.054 GB, free: 1.379 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003671/0.4337, allocations: 299.1 kB / 1.054 GB, free: 1.086 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4337, allocations: 0 / 1.054 GB, free: 1.086 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005423/0.4343, allocations: 128 kB / 1.054 GB, free: 0.9609 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5043/0.9386, allocations: 1.533 MB / 1.056 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008393/0.9394, allocations: 428.2 kB / 1.056 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9395, allocations: 5.5 kB / 1.056 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.9398, allocations: 255.9 kB / 1.056 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.9409, allocations: 221 kB / 1.057 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.9431, allocations: 2.363 MB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.9434, allocations: 0.8648 MB / 1.06 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003448/0.9437, allocations: 83.28 kB / 1.06 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.944, allocations: 151.5 kB / 1.06 GB, free: 152.2 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/0.944, allocations: 3.938 kB / 1.06 GB, free: 152.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.9771, allocations: 12.53 MB / 1.072 GB, free: 149.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.9773, allocations: 240.2 kB / 1.072 GB, free: 149 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.392, allocations: 0 / 1.072 GB, free: 149 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)