Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",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.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009759/0.0009759, allocations: 184.8 kB / 316.3 MB, free: 3.23 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.452/1.452, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009854/0.0009853, allocations: 99.22 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.129e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1809, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.192/5.373, allocations: 2.224 GB / 3.109 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/5.373, allocations: 87.2 kB / 3.109 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.887/10.26, allocations: 1.388 GB / 4.497 GB, free: 93.85 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/10.26, allocations: 0 / 4.497 GB, free: 93.85 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000221/10.26, allocations: 34.81 kB / 4.497 GB, free: 93.82 MB / 0.9011 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.006065/10.27, allocations: 1.894 MB / 4.499 GB, free: 91.89 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/10.27, allocations: 12.03 kB / 4.499 GB, free: 91.88 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/10.27, allocations: 0.4974 MB / 4.5 GB, free: 91.39 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/10.27, allocations: 1.22 MB / 4.501 GB, free: 90.14 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009184/10.27, allocations: 241.8 kB / 4.501 GB, free: 89.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/10.27, allocations: 60 kB / 4.501 GB, free: 89.84 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001686/10.28, allocations: 0.7068 MB / 4.502 GB, free: 89.14 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/10.28, allocations: 1.059 MB / 4.503 GB, free: 87.98 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/10.28, allocations: 0 / 4.503 GB, free: 87.98 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/10.28, allocations: 8 kB / 4.503 GB, free: 87.97 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.124e-05/10.28, allocations: 45.94 kB / 4.503 GB, free: 87.93 MB / 0.9011 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.007832/10.29, allocations: 6.472 MB / 4.509 GB, free: 81.07 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/10.29, allocations: 467.2 kB / 4.51 GB, free: 80.59 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/10.29, allocations: 181.3 kB / 4.51 GB, free: 80.41 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003617/10.29, allocations: 279.6 kB / 4.51 GB, free: 80.08 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/10.29, allocations: 38.84 kB / 4.51 GB, free: 80.03 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/10.29, allocations: 0 / 4.51 GB, free: 80.03 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.001284/10.29, allocations: 478.6 kB / 4.511 GB, free: 79.56 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/10.29, allocations: 59.39 kB / 4.511 GB, free: 79.49 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/10.29, allocations: 0.8266 MB / 4.512 GB, free: 78.65 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-05/10.29, allocations: 29.7 kB / 4.512 GB, free: 78.62 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/10.29, allocations: 0.6969 MB / 4.512 GB, free: 77.91 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.874e-05/10.29, allocations: 118.3 kB / 4.512 GB, free: 77.79 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/10.29, allocations: 0 / 4.512 GB, free: 77.79 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/10.29, allocations: 337.9 kB / 4.513 GB, free: 77.46 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/10.29, allocations: 189.4 kB / 4.513 GB, free: 77.27 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/10.29, allocations: 0.5568 MB / 4.513 GB, free: 76.54 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/10.29, allocations: 291.6 kB / 4.514 GB, free: 76.25 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/10.29, allocations: 4 kB / 4.514 GB, free: 76.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001299/10.29, allocations: 0.7426 MB / 4.514 GB, free: 75.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008744/10.29, allocations: 4.106 MB / 4.518 GB, free: 71.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/10.29, allocations: 12 kB / 4.518 GB, free: 71.06 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/10.29, allocations: 16 kB / 4.518 GB, free: 71.05 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/10.3, allocations: 215.6 kB / 4.519 GB, free: 70.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/10.3, allocations: 23.88 kB / 4.519 GB, free: 70.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/10.3, allocations: 183.1 kB / 4.519 GB, free: 70.63 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/10.3, allocations: 43.97 kB / 4.519 GB, free: 70.59 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/10.3, allocations: 4 kB / 4.519 GB, free: 70.59 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/10.3, allocations: 0.6057 MB / 4.519 GB, free: 69.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/10.3, allocations: 12 kB / 4.519 GB, free: 69.97 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/10.3, allocations: 16 kB / 4.519 GB, free: 69.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/10.3, allocations: 207.9 kB / 4.52 GB, free: 69.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/10.3, allocations: 19.88 kB / 4.52 GB, free: 69.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/10.3, allocations: 151.5 kB / 4.52 GB, free: 69.58 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/10.3, allocations: 39.98 kB / 4.52 GB, free: 69.54 MB / 0.9011 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.0002016/10.3, allocations: 136.6 kB / 4.52 GB, free: 69.4 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007698/10.3, allocations: 444 kB / 4.52 GB, free: 68.96 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/10.3, allocations: 110.6 kB / 4.521 GB, free: 68.85 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009474/10.3, allocations: 489.5 kB / 4.521 GB, free: 68.36 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/10.3, allocations: 4 kB / 4.521 GB, free: 68.36 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/10.3, allocations: 0 / 4.521 GB, free: 68.36 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/10.3, allocations: 7.828 kB / 4.521 GB, free: 68.36 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/10.31, allocations: 1.673 MB / 4.523 GB, free: 66.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/10.31, allocations: 4 kB / 4.523 GB, free: 66.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/10.31, allocations: 100.3 kB / 4.523 GB, free: 66.49 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/10.31, allocations: 4 kB / 4.523 GB, free: 66.49 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/10.31, allocations: 15.92 kB / 4.523 GB, free: 66.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/10.31, allocations: 4 kB / 4.523 GB, free: 66.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/10.31, allocations: 7.938 kB / 4.523 GB, free: 66.46 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008356/10.31, allocations: 0.8303 MB / 4.524 GB, free: 65.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/10.31, allocations: 255.6 kB / 4.524 GB, free: 65.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/10.31, allocations: 7.984 kB / 4.524 GB, free: 65.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/10.31, allocations: 103.8 kB / 4.524 GB, free: 65.12 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/10.31, allocations: 35.91 kB / 4.524 GB, free: 65.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/10.31, allocations: 15.98 kB / 4.524 GB, free: 65.07 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008945/10.31, allocations: 0.6202 MB / 4.525 GB, free: 64.45 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.41e-07/10.31, allocations: 0 / 4.525 GB, free: 64.45 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003702/10.31, allocations: 0.8029 MB / 4.525 GB, free: 63.64 MB / 0.9011 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.007547/10.32, allocations: 5.774 MB / 4.531 GB, free: 57.61 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001563/10.32, allocations: 0.7953 MB / 4.532 GB, free: 56.82 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/10.32, allocations: 3.938 kB / 4.532 GB, free: 56.82 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/10.32, allocations: 181.3 kB / 4.532 GB, free: 56.64 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/10.33, allocations: 387.8 kB / 4.532 GB, free: 56.27 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005988/10.33, allocations: 1.881 MB / 4.534 GB, free: 54.29 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/10.33, allocations: 1.212 MB / 4.535 GB, free: 53.05 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00199/10.33, allocations: 379.6 kB / 4.536 GB, free: 52.68 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/10.33, allocations: 459.3 kB / 4.536 GB, free: 52.23 MB / 0.9011 GB Notification: Performance of SimCode: time 1.422e-06/10.33, allocations: 0 / 4.536 GB, free: 52.23 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08538/10.42, allocations: 48 MB / 4.583 GB, free: 4.426 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/10.42, allocations: 168.9 kB / 4.583 GB, free: 4.234 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.588/14.01, allocations: 0 / 4.583 GB, free: 4.234 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)