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.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.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.0008769/0.0008769, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005233/0.005233, allocations: 171.2 kB / 16.26 MB, free: 6.676 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.19/1.19, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.291/2.291, allocations: 390.9 MB / 0.6664 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5497/0.55, allocations: 142.4 MB / 0.9552 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1438/0.6938, allocations: 158.1 MB / 1.11 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00389/0.6977, allocations: 2.919 MB / 1.112 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.6981, allocations: 15.88 kB / 1.112 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.6986, allocations: 175.1 kB / 1.113 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.7002, allocations: 0.7198 MB / 1.113 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.7008, allocations: 318.4 kB / 1.114 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.702, allocations: 1.22 MB / 1.115 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.7022, allocations: 214.1 kB / 1.115 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.7026, allocations: 290.6 kB / 1.115 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000649/0.7033, allocations: 282.8 kB / 1.116 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.7033, allocations: 12 kB / 1.116 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.7043, allocations: 0.748 MB / 1.116 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.7045, allocations: 103.6 kB / 1.116 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.7046, allocations: 212.7 kB / 1.117 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007521/0.7054, allocations: 0.7672 MB / 1.117 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.7054, allocations: 0 / 1.117 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7054, allocations: 4 kB / 1.117 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7054, allocations: 0 / 1.117 GB, free: 8.703 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.0008501/0.7063, allocations: 0.6426 MB / 1.118 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.7063, allocations: 12.03 kB / 1.118 GB, free: 8 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.241e-05/0.7064, allocations: 58.55 kB / 1.118 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000937/0.7073, allocations: 147.3 kB / 1.118 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.7078, allocations: 402.4 kB / 1.119 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.7079, allocations: 16.56 kB / 1.119 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.7079, allocations: 27.94 kB / 1.119 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.7084, allocations: 279.7 kB / 1.119 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.7084, allocations: 0 / 1.119 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.7084, allocations: 12 kB / 1.119 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.7084, allocations: 8.562 kB / 1.119 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.7088, allocations: 194.1 kB / 1.119 GB, free: 6.816 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.001525/0.7103, allocations: 1.326 MB / 1.12 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.7106, allocations: 194.8 kB / 1.121 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.7108, allocations: 92.77 kB / 1.121 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.7108, allocations: 0 / 1.121 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.7108, allocations: 42.5 kB / 1.121 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.022e-06/0.7108, allocations: 0 / 1.121 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.000852/0.7117, allocations: 398.4 kB / 1.121 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.7117, allocations: 51.41 kB / 1.121 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.712, allocations: 304.5 kB / 1.121 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.7121, allocations: 29.7 kB / 1.121 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.7122, allocations: 196 kB / 1.122 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.7122, allocations: 74.88 kB / 1.122 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.7123, allocations: 33.7 kB / 1.122 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.7124, allocations: 334.8 kB / 1.122 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.7125, allocations: 63.97 kB / 1.122 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.7126, allocations: 115.9 kB / 1.122 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.7129, allocations: 199.8 kB / 1.122 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7129, allocations: 0 / 1.122 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003325/0.7132, allocations: 253.1 kB / 1.123 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.7132, allocations: 5.875 kB / 1.123 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7132, allocations: 4 kB / 1.123 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.7132, allocations: 3.938 kB / 1.123 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.7134, allocations: 43.92 kB / 1.123 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.7135, allocations: 4 kB / 1.123 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.7137, allocations: 23.83 kB / 1.123 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.7138, allocations: 12.12 kB / 1.123 GB, free: 2.785 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.0001311/0.7139, allocations: 161.8 kB / 1.123 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.714, allocations: 35.56 kB / 1.123 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.103e-05/0.714, allocations: 35.08 kB / 1.123 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7141, allocations: 0 / 1.123 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7141, allocations: 0 / 1.123 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7141, allocations: 4 kB / 1.123 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.7145, allocations: 409.2 kB / 1.123 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7145, allocations: 0 / 1.123 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.7147, allocations: 35.92 kB / 1.123 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/0.7149, allocations: 48.77 kB / 1.123 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.7149, allocations: 4 kB / 1.123 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009952/0.7159, allocations: 1.413 MB / 1.125 GB, free: 468 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7159, allocations: 0 / 1.125 GB, free: 468 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.7164, allocations: 402.1 kB / 1.125 GB, free: 48 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.7166, allocations: 124.7 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.7166, allocations: 12.05 kB / 1.125 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.7169, allocations: 15.91 kB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.7169, allocations: 15.88 kB / 1.125 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.7169, allocations: 8 kB / 1.125 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001919/0.7171, allocations: 219 kB / 1.126 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7171, allocations: 0 / 1.126 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003739/0.7175, allocations: 103.8 kB / 1.126 GB, free: 15.54 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.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.0007503/0.7183, allocations: 0.9479 MB / 1.127 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.7185, allocations: 161.8 kB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7185, allocations: 0 / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.7188, allocations: 194.6 kB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009723/0.7198, allocations: 187.3 kB / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.7229, allocations: 3.125 MB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.7232, allocations: 0.796 MB / 1.131 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002396/0.7235, allocations: 59.25 kB / 1.131 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.7236, allocations: 99.41 kB / 1.131 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of SimCode: time 3.3e-07/0.7236, allocations: 0 / 1.131 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.75, allocations: 8.44 MB / 1.139 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.7502, allocations: 216.3 kB / 1.14 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.487, allocations: 0 / 1.14 GB, free: 1.363 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)