Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_10_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.001221/0.001221, 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.00124/0.00124, allocations: 195.6 kB / 16.14 MB, free: 6.645 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.174/1.174, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.286/2.286, allocations: 437 MB / 0.71 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.89 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.527, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1501/0.6771, allocations: 160.7 MB / 1.174 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004582/0.6817, allocations: 3.519 MB / 1.177 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.6821, allocations: 19.88 kB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.6828, allocations: 242.9 kB / 1.177 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.6843, allocations: 0.7937 MB / 1.178 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.6852, allocations: 427 kB / 1.178 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.6864, allocations: 1.372 MB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.6868, allocations: 288 kB / 1.18 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004893/0.6873, allocations: 342.4 kB / 1.18 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008351/0.6881, allocations: 357.5 kB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.6882, allocations: 20 kB / 1.181 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.6894, allocations: 0.791 MB / 1.182 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.6895, allocations: 155.5 kB / 1.182 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.6898, allocations: 250.6 kB / 1.182 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009905/0.6907, allocations: 0.9464 MB / 1.183 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.6908, allocations: 0 / 1.183 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.41e-07/0.6908, allocations: 0 / 1.183 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6908, allocations: 0 / 1.183 GB, free: 7.996 MB / 0.9356 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.001337/0.6921, allocations: 0.8758 MB / 1.184 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6922, allocations: 8.031 kB / 1.184 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.419e-05/0.6923, allocations: 70.47 kB / 1.184 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.6933, allocations: 151.2 kB / 1.184 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.694, allocations: 496.8 kB / 1.184 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.694, allocations: 24.55 kB / 1.184 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.6941, allocations: 32 kB / 1.184 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.6947, allocations: 311.7 kB / 1.185 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.6947, allocations: 3.984 kB / 1.185 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.6947, allocations: 16 kB / 1.185 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.6948, allocations: 12.5 kB / 1.185 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.6952, allocations: 226.1 kB / 1.185 GB, free: 5.688 MB / 0.9356 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.001788/0.697, allocations: 1.41 MB / 1.186 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.6973, allocations: 214.7 kB / 1.187 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.6975, allocations: 112.8 kB / 1.187 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.6976, allocations: 0 / 1.187 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/0.6978, allocations: 168.8 kB / 1.187 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.6979, allocations: 3.938 kB / 1.187 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002803/0.7007, allocations: 1.088 MB / 1.188 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.7007, allocations: 63.34 kB / 1.188 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.7012, allocations: 461.9 kB / 1.188 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.7012, allocations: 29.7 kB / 1.188 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.7014, allocations: 240.2 kB / 1.189 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/0.7015, allocations: 98.64 kB / 1.189 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.7016, allocations: 85.91 kB / 1.189 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.7017, allocations: 350.7 kB / 1.189 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.7019, allocations: 128.7 kB / 1.189 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.7022, allocations: 186.7 kB / 1.189 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.7026, allocations: 307.9 kB / 1.19 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7027, allocations: 0 / 1.19 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009476/0.7036, allocations: 493.8 kB / 1.19 GB, free: 0 / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.7036, allocations: 4.047 kB / 1.19 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.7037, allocations: 8.156 kB / 1.19 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/0.704, allocations: 84.75 kB / 1.19 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.7043, allocations: 59.91 kB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.7059, allocations: 1.729 MB / 1.192 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.7062, allocations: 31.92 kB / 1.192 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.7063, allocations: 12 kB / 1.192 GB, free: 13.94 MB / 0.9512 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.0002002/0.7065, allocations: 191.9 kB / 1.192 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.7066, allocations: 51.38 kB / 1.192 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.925e-05/0.7067, allocations: 52.62 kB / 1.192 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7067, allocations: 7.938 kB / 1.192 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.7067, allocations: 4 kB / 1.192 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.7067, allocations: 3.984 kB / 1.192 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.7082, allocations: 0.9609 MB / 1.193 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.7082, allocations: 0 / 1.193 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.7086, allocations: 63.97 kB / 1.193 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.7089, allocations: 76.91 kB / 1.194 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.7089, allocations: 16 kB / 1.194 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.7102, allocations: 1.542 MB / 1.195 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7102, allocations: 0 / 1.195 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.7112, allocations: 0.5787 MB / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.7114, allocations: 156.5 kB / 1.196 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.7114, allocations: 8 kB / 1.196 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.7118, allocations: 15.98 kB / 1.196 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.7119, allocations: 27.97 kB / 1.196 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.7119, allocations: 4 kB / 1.196 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003106/0.7122, allocations: 311.1 kB / 1.196 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7122, allocations: 0 / 1.196 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004859/0.7127, allocations: 127.9 kB / 1.196 GB, free: 9.523 MB / 0.9512 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.002112/0.7149, allocations: 1.442 MB / 1.198 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006718/0.7155, allocations: 414.8 kB / 1.198 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7156, allocations: 3.938 kB / 1.198 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.7159, allocations: 255 kB / 1.198 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.717, allocations: 225.5 kB / 1.198 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.7227, allocations: 4.329 MB / 1.203 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.7231, allocations: 0.8504 MB / 1.204 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003167/0.7234, allocations: 80.33 kB / 1.204 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.7236, allocations: 155.4 kB / 1.204 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.7236, allocations: 3.938 kB / 1.204 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.672/5.396, allocations: 12.28 MB / 1.216 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/5.396, allocations: 253.2 kB / 1.216 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/7.288, allocations: 0 / 1.216 GB, free: 5.453 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)