Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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.006445/0.006445, allocations: 100.4 kB / 15.73 MB, free: 5.988 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.001654/0.001654, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7348 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 63.91 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2305, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6162/0.8468, allocations: 162.4 MB / 1.366 GB, free: 4.594 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003405/0.8502, allocations: 2.926 MB / 1.369 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.8504, allocations: 13.97 kB / 1.369 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.851, allocations: 207.4 kB / 1.369 GB, free: 2.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.8522, allocations: 0.7652 MB / 1.37 GB, free: 1.984 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.8528, allocations: 350.8 kB / 1.37 GB, free: 1.789 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008746/0.8537, allocations: 0.9323 MB / 1.371 GB, free: 1.359 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.854, allocations: 250.7 kB / 1.371 GB, free: 1.242 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.8544, allocations: 347.1 kB / 1.371 GB, free: 1.078 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006367/0.855, allocations: 287.3 kB / 1.372 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.8551, allocations: 33.69 kB / 1.372 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008371/0.8559, allocations: 0.6407 MB / 1.372 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.8561, allocations: 128.9 kB / 1.373 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.8563, allocations: 216 kB / 1.373 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007761/0.8571, allocations: 0.7462 MB / 1.373 GB, free: 260 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.8571, allocations: 0 / 1.373 GB, free: 260 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8571, allocations: 1.125 kB / 1.373 GB, free: 260 kB / 1.061 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8571, allocations: 4 kB / 1.373 GB, free: 256 kB / 1.061 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.0009241/0.858, allocations: 0.7138 MB / 1.374 GB, free: 15.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.8581, allocations: 10.84 kB / 1.374 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.247e-05/0.8581, allocations: 60.2 kB / 1.374 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.859, allocations: 141.9 kB / 1.374 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.8596, allocations: 421.8 kB / 1.375 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8596, allocations: 17.78 kB / 1.375 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.8596, allocations: 24.62 kB / 1.375 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.86, allocations: 271.8 kB / 1.375 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.8601, allocations: 9.25 kB / 1.375 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.8601, allocations: 14.34 kB / 1.375 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.8601, allocations: 10.5 kB / 1.375 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.8604, allocations: 198.4 kB / 1.375 GB, free: 14.98 MB / 1.076 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.001455/0.8619, allocations: 1.314 MB / 1.377 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.8622, allocations: 196.1 kB / 1.377 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.8624, allocations: 95.58 kB / 1.377 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.8624, allocations: 2.531 kB / 1.377 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.8624, allocations: 36.72 kB / 1.377 GB, free: 13.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.8624, allocations: 0 / 1.377 GB, free: 13.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0008267/0.8633, allocations: 405.8 kB / 1.377 GB, free: 13.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.8633, allocations: 54.28 kB / 1.377 GB, free: 13.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.8636, allocations: 302.6 kB / 1.378 GB, free: 13.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.8636, allocations: 31.52 kB / 1.378 GB, free: 12.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.8637, allocations: 193.2 kB / 1.378 GB, free: 12.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.8638, allocations: 71.77 kB / 1.378 GB, free: 12.74 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.8638, allocations: 45.28 kB / 1.378 GB, free: 12.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8639, allocations: 346.6 kB / 1.378 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.953e-05/0.8641, allocations: 63.19 kB / 1.378 GB, free: 12.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.8642, allocations: 113.5 kB / 1.378 GB, free: 12.24 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.8644, allocations: 199.3 kB / 1.379 GB, free: 12.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.8644, allocations: 1.625 kB / 1.379 GB, free: 12.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003258/0.8648, allocations: 245.3 kB / 1.379 GB, free: 11.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.8648, allocations: 14.69 kB / 1.379 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.8648, allocations: 2.25 kB / 1.379 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.8648, allocations: 2.656 kB / 1.379 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.865, allocations: 42.98 kB / 1.379 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.865, allocations: 7.828 kB / 1.379 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.8653, allocations: 15.34 kB / 1.379 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.8653, allocations: 6.969 kB / 1.379 GB, free: 11.93 MB / 1.076 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.0001323/0.8654, allocations: 164.2 kB / 1.379 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.8655, allocations: 38.91 kB / 1.379 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.297e-05/0.8656, allocations: 35.3 kB / 1.379 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8656, allocations: 2.188 kB / 1.379 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8656, allocations: 1.094 kB / 1.379 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8656, allocations: 0 / 1.379 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.866, allocations: 405.3 kB / 1.38 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.866, allocations: 1.969 kB / 1.38 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.8662, allocations: 36.39 kB / 1.38 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.8664, allocations: 56.62 kB / 1.38 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.8664, allocations: 1.125 kB / 1.38 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.8674, allocations: 1.512 MB / 1.381 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8675, allocations: 0 / 1.381 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.868, allocations: 401.1 kB / 1.382 GB, free: 9.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.8681, allocations: 130.2 kB / 1.382 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.8681, allocations: 10.09 kB / 1.382 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.8684, allocations: 6.312 kB / 1.382 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.8684, allocations: 18.33 kB / 1.382 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.8684, allocations: 9.297 kB / 1.382 GB, free: 9.359 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001903/0.8686, allocations: 216.5 kB / 1.382 GB, free: 9.215 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8686, allocations: 0 / 1.382 GB, free: 9.215 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003555/0.869, allocations: 99.12 kB / 1.382 GB, free: 9.203 MB / 1.076 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.0007458/0.8698, allocations: 0.9468 MB / 1.383 GB, free: 8.387 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.87, allocations: 168.3 kB / 1.383 GB, free: 8.312 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.87, allocations: 0 / 1.383 GB, free: 8.312 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.8703, allocations: 200.2 kB / 1.383 GB, free: 8.156 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/0.8712, allocations: 201.8 kB / 1.383 GB, free: 8.059 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.8741, allocations: 2.921 MB / 1.386 GB, free: 5.855 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.8744, allocations: 0.7954 MB / 1.387 GB, free: 5.105 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.8746, allocations: 61.66 kB / 1.387 GB, free: 5.078 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.8747, allocations: 102.8 kB / 1.387 GB, free: 5 MB / 1.076 GB Notification: Performance of SimCode: time 2.3e-07/0.8747, allocations: 0 / 1.387 GB, free: 5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4912/1.366, allocations: 8.995 MB / 1.396 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.347/10.71, allocations: 16.39 kB / 1.396 GB, free: 0.5742 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)