Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_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.001121/0.001121, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001085/0.001085, allocations: 192.8 kB / 16.25 MB, free: 6.152 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.2 MB / 0.6644 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.00128, allocations: 63.91 kB / 0.8122 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.5261, allocations: 140.4 MB / 0.9492 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1726/0.6987, allocations: 160.2 MB / 1.106 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003957/0.7027, allocations: 2.894 MB / 1.108 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.7031, allocations: 11.94 kB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.7037, allocations: 183.1 kB / 1.109 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.7053, allocations: 0.7392 MB / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.706, allocations: 306.8 kB / 1.11 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.7071, allocations: 0.935 MB / 1.111 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.7074, allocations: 254.3 kB / 1.111 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.7079, allocations: 342.6 kB / 1.111 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007655/0.7087, allocations: 308.8 kB / 1.111 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.7087, allocations: 32 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009251/0.7097, allocations: 0.6741 MB / 1.112 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.7098, allocations: 139.5 kB / 1.112 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.71, allocations: 215 kB / 1.112 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008834/0.7109, allocations: 0.783 MB / 1.113 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.7109, allocations: 0 / 1.113 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7109, allocations: 0 / 1.113 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.711, allocations: 0 / 1.113 GB, free: 9.535 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001056/0.712, allocations: 0.7204 MB / 1.114 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7121, allocations: 12.03 kB / 1.114 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/0.7121, allocations: 58.55 kB / 1.114 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/0.7131, allocations: 139.3 kB / 1.114 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.7136, allocations: 402.4 kB / 1.115 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.7137, allocations: 20.56 kB / 1.115 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.7137, allocations: 27.91 kB / 1.115 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.7142, allocations: 271.6 kB / 1.115 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.7142, allocations: 0 / 1.115 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.7142, allocations: 12 kB / 1.115 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.7142, allocations: 12.55 kB / 1.115 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.7146, allocations: 194.1 kB / 1.115 GB, free: 7.578 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.001598/0.7162, allocations: 1.326 MB / 1.116 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.7166, allocations: 190.9 kB / 1.117 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.7167, allocations: 84.83 kB / 1.117 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.7167, allocations: 4 kB / 1.117 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.7167, allocations: 38.55 kB / 1.117 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.7168, allocations: 4 kB / 1.117 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0008689/0.7176, allocations: 401.7 kB / 1.117 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.7177, allocations: 55.41 kB / 1.117 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.718, allocations: 296.6 kB / 1.117 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.718, allocations: 29.7 kB / 1.117 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.7181, allocations: 204 kB / 1.118 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.7182, allocations: 74.88 kB / 1.118 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.7183, allocations: 45.7 kB / 1.118 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7184, allocations: 338.8 kB / 1.118 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.7185, allocations: 63.97 kB / 1.118 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.7186, allocations: 123.8 kB / 1.118 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.7189, allocations: 195.4 kB / 1.118 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7189, allocations: 4 kB / 1.118 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003466/0.7192, allocations: 249 kB / 1.119 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.7193, allocations: 8 kB / 1.119 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7193, allocations: 0 / 1.119 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.7193, allocations: 4 kB / 1.119 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.7195, allocations: 39.98 kB / 1.119 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.7195, allocations: 3.938 kB / 1.119 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.7198, allocations: 28.02 kB / 1.119 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.7198, allocations: 8 kB / 1.119 GB, free: 3.527 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.72, allocations: 157.8 kB / 1.119 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.72, allocations: 39.5 kB / 1.119 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.137e-05/0.7201, allocations: 35.08 kB / 1.119 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.7201, allocations: 4 kB / 1.119 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7201, allocations: 0 / 1.119 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.7201, allocations: 4 kB / 1.119 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.7206, allocations: 413.1 kB / 1.119 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7206, allocations: 4 kB / 1.119 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.7208, allocations: 35.92 kB / 1.119 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.721, allocations: 44.81 kB / 1.119 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.721, allocations: 4 kB / 1.119 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.7222, allocations: 1.508 MB / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7222, allocations: 0 / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.7227, allocations: 405.9 kB / 1.121 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.7228, allocations: 124.8 kB / 1.121 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.7229, allocations: 7.938 kB / 1.121 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.7231, allocations: 11.91 kB / 1.121 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.7232, allocations: 23.94 kB / 1.121 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.7232, allocations: 7.984 kB / 1.121 GB, free: 500 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001957/0.7234, allocations: 215.1 kB / 1.122 GB, free: 284 kB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7234, allocations: 0 / 1.122 GB, free: 284 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003647/0.7238, allocations: 99.84 kB / 1.122 GB, free: 184 kB / 0.8731 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.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008164/0.7246, allocations: 0.9415 MB / 1.123 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.7249, allocations: 180 kB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7249, allocations: 0 / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.7252, allocations: 204.7 kB / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.7261, allocations: 203 kB / 1.123 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.7294, allocations: 3.046 MB / 1.126 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.7297, allocations: 0.7921 MB / 1.127 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002524/0.73, allocations: 63.23 kB / 1.127 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.7301, allocations: 99.41 kB / 1.127 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of SimCode: time 2.4e-07/0.7301, allocations: 0 / 1.127 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5115/1.242, allocations: 8.803 MB / 1.136 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/1.242, allocations: 213.2 kB / 1.136 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/3.262, allocations: 3.938 kB / 1.136 GB, free: 1.695 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)