Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_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.001755/0.001754, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.581/2.581, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 68.47 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2456, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1602/0.4058, allocations: 162.4 MB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.4099, allocations: 2.924 MB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.4103, allocations: 11.94 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.4108, allocations: 206.8 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.4124, allocations: 0.7777 MB / 1.226 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.4131, allocations: 341.2 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.4141, allocations: 0.9323 MB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.4145, allocations: 266.2 kB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.415, allocations: 334.7 kB / 1.228 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007487/0.4157, allocations: 284.2 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.903e-05/0.4158, allocations: 36 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009899/0.4168, allocations: 0.6391 MB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.417, allocations: 127.6 kB / 1.229 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.4172, allocations: 215.1 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009129/0.4181, allocations: 0.7478 MB / 1.23 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.4181, allocations: 0 / 1.23 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4181, allocations: 4 kB / 1.23 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.4181, allocations: 0 / 1.23 GB, free: 3.375 MB / 0.9825 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.001029/0.4192, allocations: 0.7127 MB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4192, allocations: 8.031 kB / 1.231 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.362e-05/0.4193, allocations: 54.55 kB / 1.231 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008823/0.4202, allocations: 147.3 kB / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.4207, allocations: 410.3 kB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.4207, allocations: 12.56 kB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.4208, allocations: 24 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.4212, allocations: 283.7 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4212, allocations: 3.984 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.4213, allocations: 12 kB / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.4213, allocations: 8.562 kB / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.4216, allocations: 206 kB / 1.232 GB, free: 1.414 MB / 0.9825 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.001643/0.4233, allocations: 1.322 MB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.4237, allocations: 190.9 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.4238, allocations: 96.75 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.4238, allocations: 0 / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.4239, allocations: 38.56 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 9.92e-07/0.4239, allocations: 0 / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0008645/0.4247, allocations: 405.4 kB / 1.234 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.4248, allocations: 55.41 kB / 1.234 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.4251, allocations: 296.6 kB / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.4251, allocations: 33.7 kB / 1.234 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.4252, allocations: 196.1 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.4253, allocations: 67.02 kB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.4254, allocations: 49.61 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4255, allocations: 338.8 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.4256, allocations: 63.97 kB / 1.235 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.4258, allocations: 115.1 kB / 1.235 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.426, allocations: 191.6 kB / 1.235 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4261, allocations: 3.938 kB / 1.235 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003452/0.4264, allocations: 251.2 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4264, allocations: 9.719 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4264, allocations: 0 / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4265, allocations: 4 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.4266, allocations: 47.92 kB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4266, allocations: 0 / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.4269, allocations: 23.75 kB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.4269, allocations: 4 kB / 1.236 GB, free: 13.38 MB / 0.9981 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.0001523/0.4271, allocations: 165.9 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.4271, allocations: 31.66 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.227e-05/0.4272, allocations: 39.08 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.4272, allocations: 4 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.4272, allocations: 7.922 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4272, allocations: 0 / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.4277, allocations: 401.3 kB / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4277, allocations: 3.938 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.4279, allocations: 35.92 kB / 1.236 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.4281, allocations: 40.83 kB / 1.236 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.4281, allocations: 11.98 kB / 1.236 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.4293, allocations: 1.515 MB / 1.238 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4294, allocations: 0 / 1.238 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.4299, allocations: 404 kB / 1.238 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.43, allocations: 132.7 kB / 1.238 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.4301, allocations: 7.922 kB / 1.238 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.4303, allocations: 10.06 kB / 1.238 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.4303, allocations: 7.984 kB / 1.238 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.4304, allocations: 8 kB / 1.238 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002116/0.4306, allocations: 219.1 kB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4306, allocations: 0 / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003463/0.4309, allocations: 99.84 kB / 1.239 GB, free: 10.03 MB / 0.9981 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.0008542/0.4318, allocations: 0.951 MB / 1.24 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.4321, allocations: 181.5 kB / 1.24 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4321, allocations: 0 / 1.24 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.4324, allocations: 194.6 kB / 1.24 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008856/0.4333, allocations: 194.4 kB / 1.24 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.4364, allocations: 2.932 MB / 1.243 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.4369, allocations: 0.8034 MB / 1.244 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002088/0.4371, allocations: 55.25 kB / 1.244 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4372, allocations: 107.4 kB / 1.244 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.4372, allocations: 0 / 1.244 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.399/2.837, allocations: 8.889 MB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.8/24.64, allocations: 10.64 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)