Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4",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.478/2.478, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001462/0.001461, allocations: 176.8 kB / 360.6 MB, free: 7.281 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.033/2.033, allocations: 205.2 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.001089, allocations: 99.22 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.324e-05, allocations: 4 kB / 0.8508 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.8266, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.946/6.772, allocations: 2.105 GB / 3.068 GB, free: 14.26 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/6.773, allocations: 85.09 kB / 3.068 GB, free: 14.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.701/14.47, allocations: 1.436 GB / 4.504 GB, free: 47.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.633e-06/14.47, allocations: 0 / 4.504 GB, free: 47.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001582/14.47, allocations: 35.98 kB / 4.504 GB, free: 47.62 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006289/14.48, allocations: 1.889 MB / 4.506 GB, free: 45.69 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/14.48, allocations: 12.03 kB / 4.506 GB, free: 45.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004715/14.49, allocations: 0.5054 MB / 4.506 GB, free: 45.17 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004803/14.49, allocations: 1.223 MB / 4.507 GB, free: 43.89 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001697/14.49, allocations: 241.8 kB / 4.508 GB, free: 43.65 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/14.49, allocations: 63.95 kB / 4.508 GB, free: 43.59 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002015/14.49, allocations: 0.7146 MB / 4.508 GB, free: 42.88 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/14.5, allocations: 1.056 MB / 4.509 GB, free: 41.72 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/14.5, allocations: 0 / 4.509 GB, free: 41.72 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/14.5, allocations: 4 kB / 4.509 GB, free: 41.72 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-05/14.5, allocations: 42 kB / 4.509 GB, free: 41.68 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01081/14.51, allocations: 6.398 MB / 4.516 GB, free: 34.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/14.51, allocations: 464 kB / 4.516 GB, free: 34.37 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/14.51, allocations: 185.3 kB / 4.516 GB, free: 34.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004826/14.51, allocations: 287.6 kB / 4.517 GB, free: 33.85 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/14.51, allocations: 38.84 kB / 4.517 GB, free: 33.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 3.717e-06/14.51, allocations: 0 / 4.517 GB, free: 33.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.00187/14.51, allocations: 486.5 kB / 4.517 GB, free: 33.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/14.51, allocations: 51.41 kB / 4.517 GB, free: 33.26 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/14.51, allocations: 0.8266 MB / 4.518 GB, free: 32.42 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/14.51, allocations: 33.7 kB / 4.518 GB, free: 32.38 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005419/14.51, allocations: 0.6969 MB / 4.519 GB, free: 31.68 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/14.51, allocations: 110.4 kB / 4.519 GB, free: 31.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/14.51, allocations: 0 / 4.519 GB, free: 31.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/14.51, allocations: 334 kB / 4.519 GB, free: 31.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/14.52, allocations: 193.4 kB / 4.519 GB, free: 31.04 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/14.52, allocations: 0.5529 MB / 4.52 GB, free: 30.32 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007875/14.52, allocations: 304.1 kB / 4.52 GB, free: 30.02 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/14.52, allocations: 8 kB / 4.52 GB, free: 30.01 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001964/14.52, allocations: 0.7426 MB / 4.521 GB, free: 29.26 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008019/14.52, allocations: 4.106 MB / 4.525 GB, free: 24.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/14.52, allocations: 8 kB / 4.525 GB, free: 24.83 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.981e-05/14.52, allocations: 16 kB / 4.525 GB, free: 24.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/14.52, allocations: 215.7 kB / 4.525 GB, free: 24.61 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/14.52, allocations: 23.86 kB / 4.525 GB, free: 24.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/14.52, allocations: 175.2 kB / 4.525 GB, free: 24.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/14.52, allocations: 47.98 kB / 4.525 GB, free: 24.36 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/14.52, allocations: 4 kB / 4.525 GB, free: 24.36 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001615/14.53, allocations: 0.5977 MB / 4.526 GB, free: 23.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/14.53, allocations: 15.98 kB / 4.526 GB, free: 23.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/14.53, allocations: 16 kB / 4.526 GB, free: 23.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/14.53, allocations: 203.8 kB / 4.526 GB, free: 23.53 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/14.53, allocations: 23.91 kB / 4.526 GB, free: 23.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/14.53, allocations: 155.3 kB / 4.526 GB, free: 23.36 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/14.53, allocations: 39.98 kB / 4.526 GB, free: 23.32 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002875/14.53, allocations: 136.5 kB / 4.526 GB, free: 23.18 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001301/14.53, allocations: 452.3 kB / 4.527 GB, free: 22.73 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/14.53, allocations: 110.6 kB / 4.527 GB, free: 22.62 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/14.53, allocations: 490 kB / 4.527 GB, free: 22.12 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/14.53, allocations: 7.938 kB / 4.527 GB, free: 22.12 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/14.53, allocations: 4 kB / 4.527 GB, free: 22.11 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/14.53, allocations: 0 / 4.527 GB, free: 22.11 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/14.54, allocations: 1.654 MB / 4.529 GB, free: 20.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/14.54, allocations: 7.984 kB / 4.529 GB, free: 20.35 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/14.54, allocations: 108.3 kB / 4.529 GB, free: 20.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/14.54, allocations: 4 kB / 4.529 GB, free: 20.24 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/14.54, allocations: 12 kB / 4.529 GB, free: 20.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/14.54, allocations: 7.984 kB / 4.529 GB, free: 20.22 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/14.54, allocations: 11.88 kB / 4.529 GB, free: 20.21 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/14.54, allocations: 0.8413 MB / 4.53 GB, free: 19.24 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/14.54, allocations: 259.5 kB / 4.53 GB, free: 18.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/14.54, allocations: 8 kB / 4.53 GB, free: 18.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/14.54, allocations: 95.91 kB / 4.53 GB, free: 18.86 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/14.54, allocations: 39.84 kB / 4.53 GB, free: 18.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.18e-05/14.54, allocations: 23.98 kB / 4.53 GB, free: 18.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001187/14.54, allocations: 0.6163 MB / 4.531 GB, free: 18.18 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.91e-07/14.54, allocations: 0 / 4.531 GB, free: 18.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0038/14.55, allocations: 0.8107 MB / 4.532 GB, free: 17.37 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.007469/14.55, allocations: 5.769 MB / 4.537 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002172/14.56, allocations: 0.8042 MB / 4.538 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/14.56, allocations: 0 / 4.538 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004553/14.56, allocations: 180.1 kB / 4.538 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/14.56, allocations: 397.1 kB / 4.539 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007602/14.57, allocations: 1.87 MB / 4.541 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008084/14.57, allocations: 1.212 MB / 4.542 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003016/14.57, allocations: 384 kB / 4.542 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009027/14.57, allocations: 455.3 kB / 4.543 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of SimCode: time 1.353e-06/14.57, allocations: 0 / 4.543 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8769/15.45, allocations: 48.09 MB / 4.59 GB, free: 125.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/15.45, allocations: 161.1 kB / 4.59 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.799/20.25, allocations: 3.781 kB / 4.59 GB, free: 124.9 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)