Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_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.0008672/0.0008672, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005273/0.005273, allocations: 170.8 kB / 16.27 MB, free: 6.652 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.225/1.225, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.119/2.119, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 12 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.527/0.5273, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1468/0.6742, allocations: 158.6 MB / 1.11 GB, free: 252 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004729/0.679, allocations: 3.468 MB / 1.113 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004231/0.6794, allocations: 11.94 kB / 1.113 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006726/0.6801, allocations: 246.9 kB / 1.114 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.6818, allocations: 0.7975 MB / 1.114 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009093/0.6827, allocations: 427.2 kB / 1.115 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.6841, allocations: 1.372 MB / 1.116 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.6845, allocations: 272.1 kB / 1.116 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.6851, allocations: 342.3 kB / 1.117 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007944/0.6859, allocations: 346.5 kB / 1.117 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.322e-05/0.6859, allocations: 16 kB / 1.117 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.6871, allocations: 0.7871 MB / 1.118 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.6873, allocations: 147.5 kB / 1.118 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.6876, allocations: 256.5 kB / 1.118 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.6887, allocations: 0.9383 MB / 1.119 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.6887, allocations: 0 / 1.119 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.153e-06/0.6887, allocations: 0 / 1.119 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.6887, allocations: 0 / 1.119 GB, free: 6.828 MB / 0.8731 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.001165/0.6899, allocations: 0.7785 MB / 1.12 GB, free: 6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.6899, allocations: 8.031 kB / 1.12 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.31e-05/0.69, allocations: 66.48 kB / 1.12 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009459/0.6909, allocations: 159.2 kB / 1.12 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.6916, allocations: 496.8 kB / 1.121 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.6916, allocations: 20.56 kB / 1.121 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.6917, allocations: 35.98 kB / 1.121 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.6922, allocations: 315.7 kB / 1.121 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.6922, allocations: 0 / 1.121 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.6923, allocations: 12 kB / 1.121 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.6923, allocations: 12.56 kB / 1.121 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.6927, allocations: 230 kB / 1.121 GB, free: 4.613 MB / 0.8731 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.001883/0.6946, allocations: 1.418 MB / 1.123 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.695, allocations: 226.7 kB / 1.123 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.6952, allocations: 100.8 kB / 1.123 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.6952, allocations: 4 kB / 1.123 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.6955, allocations: 165.2 kB / 1.123 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.6955, allocations: 0 / 1.123 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.00259/0.6981, allocations: 1.094 MB / 1.124 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.6981, allocations: 55.34 kB / 1.124 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.6986, allocations: 461.8 kB / 1.125 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.6986, allocations: 37.64 kB / 1.125 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.6988, allocations: 240.3 kB / 1.125 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/0.6989, allocations: 94.56 kB / 1.125 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.699, allocations: 41.69 kB / 1.125 GB, free: 460 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6991, allocations: 354.8 kB / 1.125 GB, free: 96 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.6993, allocations: 132.7 kB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.6996, allocations: 182.7 kB / 1.126 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.7, allocations: 311.8 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7, allocations: 0 / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008847/0.7009, allocations: 486.2 kB / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.7009, allocations: 8 kB / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7009, allocations: 7.922 kB / 1.126 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.7013, allocations: 80.75 kB / 1.127 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.7015, allocations: 63.91 kB / 1.127 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.7031, allocations: 1.748 MB / 1.128 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.7035, allocations: 31.92 kB / 1.128 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.7035, allocations: 16 kB / 1.128 GB, free: 12.87 MB / 0.8887 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.0001943/0.7037, allocations: 187.2 kB / 1.129 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.7038, allocations: 47.47 kB / 1.129 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.7039, allocations: 56.62 kB / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7039, allocations: 4 kB / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7039, allocations: 0 / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7039, allocations: 7.984 kB / 1.129 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.7053, allocations: 0.9612 MB / 1.13 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.7054, allocations: 0 / 1.13 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.7057, allocations: 67.91 kB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.706, allocations: 76.78 kB / 1.13 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.706, allocations: 4 kB / 1.13 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.7073, allocations: 1.565 MB / 1.131 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7074, allocations: 0 / 1.131 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.7083, allocations: 0.5787 MB / 1.132 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.7085, allocations: 148.5 kB / 1.132 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.7085, allocations: 12 kB / 1.132 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.7089, allocations: 16.64 kB / 1.132 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.7089, allocations: 19.97 kB / 1.132 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.709, allocations: 15.98 kB / 1.132 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003139/0.7093, allocations: 307.1 kB / 1.132 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7093, allocations: 0 / 1.132 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004653/0.7098, allocations: 128 kB / 1.132 GB, free: 8.457 MB / 0.8887 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.002022/0.7118, allocations: 1.449 MB / 1.134 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006279/0.7124, allocations: 410.5 kB / 1.134 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7125, allocations: 0 / 1.134 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.7127, allocations: 254.9 kB / 1.134 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.7138, allocations: 236.6 kB / 1.135 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.7194, allocations: 4.404 MB / 1.139 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.7198, allocations: 0.8465 MB / 1.14 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003011/0.7201, allocations: 84.33 kB / 1.14 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.7203, allocations: 151.4 kB / 1.14 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of SimCode: time 3.41e-07/0.7203, allocations: 0 / 1.14 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.7454, allocations: 12.14 MB / 1.152 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.7457, allocations: 255.3 kB / 1.152 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.579, allocations: 0 / 1.152 GB, free: 4.453 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)