Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example4.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example4",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.001035/0.001035, allocations: 108 kB / 15.61 MB, free: 148 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.001031/0.001031, allocations: 197.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.607/1.607, allocations: 292.3 MB / 0.5489 GB, free: 12.87 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 69.08 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2049, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6644/0.8694, allocations: 237.6 MB / 1.015 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02035/0.8898, allocations: 15.66 MB / 1.031 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/0.8924, allocations: 54.97 kB / 1.031 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.8952, allocations: 1.035 MB / 1.032 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007833/0.903, allocations: 2.961 MB / 1.035 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.9072, allocations: 1.669 MB / 1.036 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004523/0.9117, allocations: 3.43 MB / 1.04 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.9135, allocations: 1.298 MB / 1.041 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005597/0.9191, allocations: 2.488 MB / 1.043 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.921, allocations: 1.079 MB / 1.044 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.9212, allocations: 119.9 kB / 1.045 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005123/0.9263, allocations: 3.092 MB / 1.048 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.9268, allocations: 480.6 kB / 1.048 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009231/0.9277, allocations: 0.8053 MB / 1.049 GB, free: 6.961 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.9321, allocations: 2.946 MB / 1.052 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.9321, allocations: 0 / 1.052 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9321, allocations: 4 kB / 1.052 GB, free: 4.672 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.9321, allocations: 3.938 kB / 1.052 GB, free: 4.668 MB / 0.7637 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.003223/0.9353, allocations: 2.002 MB / 1.054 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.9354, allocations: 12.03 kB / 1.054 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.9356, allocations: 156.2 kB / 1.054 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.9381, allocations: 0.4975 MB / 1.054 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.94, allocations: 1.106 MB / 1.055 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008881/0.9409, allocations: 249.8 kB / 1.056 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.941, allocations: 100 kB / 1.056 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.9433, allocations: 1.362 MB / 1.057 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.9433, allocations: 7.938 kB / 1.057 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.462e-05/0.9434, allocations: 44.75 kB / 1.057 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/0.9435, allocations: 53.91 kB / 1.057 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.9459, allocations: 1.081 MB / 1.058 GB, free: 13.77 MB / 0.7794 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.007553/0.9534, allocations: 7.446 MB / 1.065 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.9551, allocations: 0.566 MB / 1.066 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.9557, allocations: 273.2 kB / 1.066 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/0.9561, allocations: 291.5 kB / 1.067 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.9561, allocations: 30.84 kB / 1.067 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 2.305e-06/0.9561, allocations: 0 / 1.067 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.002575/0.9587, allocations: 0.8668 MB / 1.067 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.9588, allocations: 55.41 kB / 1.068 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.9606, allocations: 1.399 MB / 1.069 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/0.9607, allocations: 33.7 kB / 1.069 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/0.9613, allocations: 0.7025 MB / 1.07 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.9614, allocations: 122.3 kB / 1.07 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.9616, allocations: 170.4 kB / 1.07 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9617, allocations: 334 kB / 1.07 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009159/0.9627, allocations: 328.6 kB / 1.071 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.9639, allocations: 0.7345 MB / 1.071 GB, free: 15.65 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.966, allocations: 0.9746 MB / 1.072 GB, free: 14.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.966, allocations: 8 kB / 1.072 GB, free: 14.51 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002671/0.9687, allocations: 1.086 MB / 1.073 GB, free: 13.41 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.9687, allocations: 12 kB / 1.073 GB, free: 13.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.9687, allocations: 12 kB / 1.073 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/0.9688, allocations: 19.94 kB / 1.073 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/0.9697, allocations: 215.9 kB / 1.073 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.9697, allocations: 19.94 kB / 1.074 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.9713, allocations: 197.9 kB / 1.074 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/0.9713, allocations: 47.98 kB / 1.074 GB, free: 12.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001302/0.9726, allocations: 0.5844 MB / 1.074 GB, free: 12.32 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00116/0.9738, allocations: 0.7268 MB / 1.075 GB, free: 11.4 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001794/0.9756, allocations: 0.9614 MB / 1.076 GB, free: 10.28 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.76e-06/0.9756, allocations: 4 kB / 1.076 GB, free: 10.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002479/0.9781, allocations: 1.101 MB / 1.077 GB, free: 9.164 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.9781, allocations: 15.11 kB / 1.077 GB, free: 9.152 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.9782, allocations: 12 kB / 1.077 GB, free: 9.141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.9782, allocations: 16 kB / 1.077 GB, free: 9.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.979, allocations: 215.7 kB / 1.077 GB, free: 8.914 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/0.979, allocations: 23.88 kB / 1.077 GB, free: 8.891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.9803, allocations: 151.4 kB / 1.077 GB, free: 8.742 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.9803, allocations: 43.98 kB / 1.077 GB, free: 8.699 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * 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.0002232/0.9806, allocations: 235.9 kB / 1.078 GB, free: 8.461 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.9808, allocations: 142.2 kB / 1.078 GB, free: 8.32 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.9824, allocations: 0.6604 MB / 1.079 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.9825, allocations: 4 kB / 1.079 GB, free: 7.641 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9825, allocations: 0 / 1.079 GB, free: 7.641 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9825, allocations: 0 / 1.079 GB, free: 7.641 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.9858, allocations: 1.913 MB / 1.08 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.9859, allocations: 4 kB / 1.08 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/0.9864, allocations: 96.06 kB / 1.08 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.9864, allocations: 8 kB / 1.08 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.9864, allocations: 8 kB / 1.08 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.9864, allocations: 15.94 kB / 1.08 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9864, allocations: 7.984 kB / 1.081 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.988, allocations: 0.8164 MB / 1.081 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.9884, allocations: 307.1 kB / 1.082 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.9886, allocations: 8 kB / 1.082 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009594/0.9896, allocations: 71.92 kB / 1.082 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.9897, allocations: 43.78 kB / 1.082 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.9897, allocations: 23.97 kB / 1.082 GB, free: 4.133 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001341/0.9911, allocations: 1.001 MB / 1.083 GB, free: 3.137 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9911, allocations: 0 / 1.083 GB, free: 3.137 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00162/0.9927, allocations: 0.5813 MB / 1.083 GB, free: 2.555 MB / 0.795 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002411/0.9951, allocations: 1.533 MB / 1.085 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002963/0.9981, allocations: 1.195 MB / 1.086 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9981, allocations: 192 / 1.086 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006902/0.9988, allocations: 256 kB / 1.086 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/1.002, allocations: 0.7419 MB / 1.087 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/1.02, allocations: 10.72 MB / 1.097 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/1.021, allocations: 1.182 MB / 1.099 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001709/1.023, allocations: 395.8 kB / 1.099 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/1.023, allocations: 499.3 kB / 1.099 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/1.023, allocations: 0 / 1.099 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.111/2.134, allocations: 35.37 MB / 1.134 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/13.24, allocations: 4 kB / 1.134 GB, free: 14.25 MB / 0.8575 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)