Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 178 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007609/0.0007611, allocations: 98.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003017, allocations: 9.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1776, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1311/0.3088, allocations: 136.4 MB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004604/0.3135, allocations: 2.86 MB / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005634/0.3141, allocations: 7.938 kB / 1.036 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000768/0.3149, allocations: 219 kB / 1.036 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.3173, allocations: 0.7323 MB / 1.037 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3185, allocations: 444 kB / 1.038 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007484/0.3192, allocations: 0.5741 MB / 1.038 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.3195, allocations: 197.6 kB / 1.038 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.3199, allocations: 271 kB / 1.039 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3202, allocations: 191.2 kB / 1.039 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.3203, allocations: 12 kB / 1.039 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.3208, allocations: 279.5 kB / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.321, allocations: 111.7 kB / 1.039 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.3211, allocations: 101.5 kB / 1.039 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.3216, allocations: 494.9 kB / 1.04 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.3216, allocations: 4 kB / 1.04 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3216, allocations: 0 / 1.04 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.3216, allocations: 4 kB / 1.04 GB, free: 0.6016 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000959/0.3226, allocations: 0.6427 MB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3226, allocations: 8.031 kB / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.495e-05/0.3227, allocations: 62.55 kB / 1.04 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/0.3236, allocations: 139.3 kB / 1.04 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.3242, allocations: 382.7 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.3242, allocations: 28.52 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.3242, allocations: 31.91 kB / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.3247, allocations: 275.7 kB / 1.041 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3247, allocations: 0 / 1.041 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.3248, allocations: 12 kB / 1.041 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.3248, allocations: 12.5 kB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.3251, allocations: 194.1 kB / 1.041 GB, free: 14.72 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.001608/0.3267, allocations: 1.338 MB / 1.043 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.3271, allocations: 207.8 kB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3272, allocations: 0 / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3272, allocations: 34.56 kB / 1.043 GB, free: 12.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.142e-06/0.3272, allocations: 0 / 1.043 GB, free: 12.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0008639/0.3281, allocations: 391.5 kB / 1.043 GB, free: 12.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.3281, allocations: 51.41 kB / 1.043 GB, free: 12.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.3284, allocations: 300.5 kB / 1.044 GB, free: 12.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3284, allocations: 33.7 kB / 1.044 GB, free: 12.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3286, allocations: 196.3 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.3286, allocations: 74.94 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.3287, allocations: 8 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.3288, allocations: 346.7 kB / 1.044 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/0.3289, allocations: 55.97 kB / 1.044 GB, free: 11.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.329, allocations: 111.5 kB / 1.044 GB, free: 11.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3291, allocations: 90.19 kB / 1.044 GB, free: 11.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3291, allocations: 3.938 kB / 1.044 GB, free: 11.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000324/0.3295, allocations: 237.1 kB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3295, allocations: 4 kB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3295, allocations: 4 kB / 1.045 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3295, allocations: 4.188 kB / 1.045 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.3297, allocations: 47.92 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3297, allocations: 4 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.33, allocations: 27.83 kB / 1.045 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.3301, allocations: 11.95 kB / 1.045 GB, free: 10.94 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.0001464/0.3302, allocations: 161.8 kB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.3303, allocations: 35.62 kB / 1.045 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/0.3304, allocations: 35.08 kB / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3304, allocations: 4 kB / 1.045 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3304, allocations: 0 / 1.045 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3304, allocations: 0 / 1.045 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.3309, allocations: 413.2 kB / 1.045 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3309, allocations: 4 kB / 1.045 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.3311, allocations: 31.92 kB / 1.045 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.3313, allocations: 52.81 kB / 1.046 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3313, allocations: 4 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.3323, allocations: 1.409 MB / 1.047 GB, free: 8.605 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3323, allocations: 3.984 kB / 1.047 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.3329, allocations: 405.8 kB / 1.047 GB, free: 8.188 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.333, allocations: 136.6 kB / 1.047 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.3331, allocations: 8 kB / 1.047 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.3334, allocations: 19.95 kB / 1.047 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.3334, allocations: 15.94 kB / 1.047 GB, free: 7.992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3334, allocations: 4 kB / 1.047 GB, free: 7.988 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001934/0.3336, allocations: 219 kB / 1.048 GB, free: 7.777 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3336, allocations: 0 / 1.048 GB, free: 7.777 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004051/0.334, allocations: 107.8 kB / 1.048 GB, free: 7.672 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.0007893/0.3348, allocations: 0.957 MB / 1.049 GB, free: 6.688 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.3351, allocations: 155.8 kB / 1.049 GB, free: 6.535 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3351, allocations: 0 / 1.049 GB, free: 6.535 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.3354, allocations: 201 kB / 1.049 GB, free: 6.328 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.3362, allocations: 196.8 kB / 1.049 GB, free: 6.137 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.339, allocations: 2.868 MB / 1.052 GB, free: 3.195 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3394, allocations: 0.8077 MB / 1.053 GB, free: 2.359 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003018/0.3397, allocations: 62.92 kB / 1.053 GB, free: 2.301 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3399, allocations: 103.4 kB / 1.053 GB, free: 2.199 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.3399, allocations: 3.938 kB / 1.053 GB, free: 2.195 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3849/0.7248, allocations: 8.933 MB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.725, allocations: 207.4 kB / 1.062 GB, free: 153.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.782, allocations: 4 kB / 1.062 GB, free: 153.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)