Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.734/2.734, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 185.2 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.00121, allocations: 90.02 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008931/0.000893, allocations: 16.03 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2448, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.9627/1.208, allocations: 136.3 MB / 1.111 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006781/1.214, allocations: 2.833 MB / 1.114 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009223/1.215, allocations: 14.38 kB / 1.114 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/1.217, allocations: 212.2 kB / 1.114 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004097/1.221, allocations: 0.7308 MB / 1.115 GB, free: 1 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/1.223, allocations: 425.7 kB / 1.116 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002002/1.225, allocations: 0.5475 MB / 1.116 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005481/1.226, allocations: 186.3 kB / 1.116 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008867/1.227, allocations: 250.1 kB / 1.116 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/1.227, allocations: 188 kB / 1.117 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.416e-05/1.228, allocations: 12.59 kB / 1.117 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/1.229, allocations: 285.6 kB / 1.117 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/1.229, allocations: 97.27 kB / 1.117 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003197/1.23, allocations: 97.7 kB / 1.117 GB, free: 16.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/1.231, allocations: 478.2 kB / 1.118 GB, free: 16.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.231, allocations: 0 / 1.118 GB, free: 16.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.935e-06/1.231, allocations: 0 / 1.118 GB, free: 16.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.546e-05/1.232, allocations: 0 / 1.118 GB, free: 16.73 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001944/1.233, allocations: 0.64 MB / 1.118 GB, free: 16.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/1.234, allocations: 13.48 kB / 1.118 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/1.234, allocations: 60.62 kB / 1.118 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/1.235, allocations: 138.4 kB / 1.118 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/1.237, allocations: 388.9 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/1.237, allocations: 18.89 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/1.237, allocations: 26.7 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/1.238, allocations: 270.5 kB / 1.119 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/1.238, allocations: 7.234 kB / 1.119 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/1.238, allocations: 9 kB / 1.119 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/1.238, allocations: 13.23 kB / 1.119 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/1.238, allocations: 192.9 kB / 1.119 GB, free: 15.87 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.003185/1.241, allocations: 1.321 MB / 1.121 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/1.242, allocations: 195.6 kB / 1.121 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/1.242, allocations: 2.312 kB / 1.121 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/1.242, allocations: 31.22 kB / 1.121 GB, free: 14.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 3.417e-06/1.242, allocations: 2.375 kB / 1.121 GB, free: 14.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001647/1.244, allocations: 404 kB / 1.121 GB, free: 14.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.244, allocations: 52.39 kB / 1.121 GB, free: 14.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/1.245, allocations: 303.5 kB / 1.122 GB, free: 14.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/1.245, allocations: 32.58 kB / 1.122 GB, free: 14.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/1.245, allocations: 183.6 kB / 1.122 GB, free: 14.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/1.245, allocations: 75.2 kB / 1.122 GB, free: 14.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/1.245, allocations: 7.641 kB / 1.122 GB, free: 14.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.245, allocations: 336.3 kB / 1.122 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/1.245, allocations: 63.27 kB / 1.122 GB, free: 14.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/1.246, allocations: 123.9 kB / 1.122 GB, free: 14.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/1.246, allocations: 78.53 kB / 1.122 GB, free: 14.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.246, allocations: 0 / 1.122 GB, free: 14.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006817/1.247, allocations: 248.4 kB / 1.123 GB, free: 13.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/1.247, allocations: 5.719 kB / 1.123 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.247, allocations: 2.531 kB / 1.123 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/1.247, allocations: 4.875 kB / 1.123 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/1.247, allocations: 41.62 kB / 1.123 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/1.247, allocations: 2.812 kB / 1.123 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/1.248, allocations: 28.27 kB / 1.123 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/1.248, allocations: 11.38 kB / 1.123 GB, free: 13.95 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003583/1.248, allocations: 162.2 kB / 1.123 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.248, allocations: 28.97 kB / 1.123 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/1.248, allocations: 41 kB / 1.123 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/1.248, allocations: 8.578 kB / 1.123 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.248, allocations: 0 / 1.123 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.249, allocations: 0 / 1.123 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009459/1.249, allocations: 411.1 kB / 1.123 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.249, allocations: 0 / 1.123 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/1.25, allocations: 41.12 kB / 1.123 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003517/1.25, allocations: 42.61 kB / 1.123 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/1.25, allocations: 5.844 kB / 1.123 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/1.252, allocations: 1.415 MB / 1.125 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.252, allocations: 0 / 1.125 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/1.253, allocations: 410.6 kB / 1.125 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/1.254, allocations: 134.5 kB / 1.125 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/1.254, allocations: 7.125 kB / 1.125 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/1.254, allocations: 17.62 kB / 1.125 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/1.254, allocations: 11.86 kB / 1.125 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/1.254, allocations: 7.312 kB / 1.125 GB, free: 12.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003871/1.255, allocations: 210.1 kB / 1.126 GB, free: 11.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.255, allocations: 0 / 1.126 GB, free: 11.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007408/1.256, allocations: 106.2 kB / 1.126 GB, free: 11.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/1.257, allocations: 0.9628 MB / 1.127 GB, free: 11.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000512/1.258, allocations: 163.1 kB / 1.127 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.258, allocations: 0 / 1.127 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005004/1.258, allocations: 204.8 kB / 1.127 GB, free: 11.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/1.26, allocations: 181.1 kB / 1.127 GB, free: 11.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/1.266, allocations: 2.87 MB / 1.13 GB, free: 9.332 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/1.266, allocations: 0.8021 MB / 1.131 GB, free: 8.633 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006048/1.267, allocations: 56.25 kB / 1.131 GB, free: 8.617 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/1.267, allocations: 106.2 kB / 1.131 GB, free: 8.609 MB / 0.698 GB Notification: Performance of SimCode: time 2.064e-06/1.267, allocations: 3.938 kB / 1.131 GB, free: 8.605 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/1.311, allocations: 8.806 MB / 1.139 GB, free: 5.547 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003634/1.311, allocations: 201.7 kB / 1.14 GB, free: 5.309 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/4.169, allocations: 3.359 kB / 1.14 GB, free: 5.309 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)