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.0008916/0.0008917, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005123/0.005124, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.27/1.27, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.647/1.647, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0009825/0.0009823, allocations: 13.84 kB / 0.6744 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2693, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6318/0.9012, allocations: 232.3 MB / 1.015 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.9224, allocations: 15.61 MB / 1.03 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.9248, allocations: 54.09 kB / 1.03 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.9275, allocations: 0.8712 MB / 1.031 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008054/0.9356, allocations: 2.78 MB / 1.034 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004469/0.9401, allocations: 1.518 MB / 1.035 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00616/0.9462, allocations: 4.649 MB / 1.04 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.9481, allocations: 1.045 MB / 1.041 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007066/0.9552, allocations: 2.219 MB / 1.043 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003026/0.9582, allocations: 1.066 MB / 1.044 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002947/0.9585, allocations: 46.78 kB / 1.044 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006587/0.9651, allocations: 3.589 MB / 1.047 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006357/0.9658, allocations: 406.7 kB / 1.048 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.9671, allocations: 0.7384 MB / 1.049 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006099/0.9732, allocations: 3.06 MB / 1.052 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9733, allocations: 0 / 1.052 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9733, allocations: 0 / 1.052 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.9733, allocations: 2.875 kB / 1.052 GB, free: 13.29 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.003394/0.9767, allocations: 1.707 MB / 1.053 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.9767, allocations: 11.88 kB / 1.053 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002296/0.977, allocations: 155.8 kB / 1.053 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.9799, allocations: 0.5354 MB / 1.054 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.9822, allocations: 1.114 MB / 1.055 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/0.9832, allocations: 277.8 kB / 1.055 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.9834, allocations: 100 kB / 1.055 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.9859, allocations: 1.342 MB / 1.057 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.986, allocations: 7.922 kB / 1.057 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.9861, allocations: 40 kB / 1.057 GB, free: 8.512 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/0.9861, allocations: 49.98 kB / 1.057 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/0.9888, allocations: 1.112 MB / 1.058 GB, free: 7.352 MB / 0.7637 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.0104/0.9992, allocations: 6.67 MB / 1.064 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/1.002, allocations: 0.5973 MB / 1.065 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/1.003, allocations: 293.1 kB / 1.065 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005568/1.004, allocations: 283.6 kB / 1.065 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/1.004, allocations: 34.83 kB / 1.066 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 5.08e-06/1.004, allocations: 4 kB / 1.066 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.004168/1.008, allocations: 0.9023 MB / 1.066 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/1.008, allocations: 55.41 kB / 1.066 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/1.011, allocations: 1.366 MB / 1.068 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/1.011, allocations: 37.64 kB / 1.068 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008543/1.012, allocations: 0.6872 MB / 1.069 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/1.012, allocations: 118.3 kB / 1.069 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/1.013, allocations: 57.69 kB / 1.069 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.013, allocations: 334 kB / 1.069 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/1.015, allocations: 329.1 kB / 1.069 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/1.017, allocations: 0.6715 MB / 1.07 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/1.02, allocations: 0.904 MB / 1.071 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.02, allocations: 0 / 1.071 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0049/1.025, allocations: 1.058 MB / 1.072 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004176/1.026, allocations: 375.2 kB / 1.072 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/1.026, allocations: 8 kB / 1.072 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.51e-05/1.026, allocations: 16 kB / 1.072 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.028, allocations: 207.7 kB / 1.072 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.585e-05/1.028, allocations: 19.94 kB / 1.072 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/1.031, allocations: 234.7 kB / 1.073 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.031, allocations: 47.92 kB / 1.073 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.031, allocations: 4 kB / 1.073 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00423/1.035, allocations: 0.9017 MB / 1.074 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/1.035, allocations: 12 kB / 1.074 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/1.035, allocations: 12 kB / 1.074 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/1.037, allocations: 216.4 kB / 1.074 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.611e-05/1.037, allocations: 15.94 kB / 1.074 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/1.04, allocations: 203 kB / 1.074 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.04, allocations: 36 kB / 1.074 GB, free: 5.703 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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.001302/1.041, allocations: 412.8 kB / 1.074 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005593/1.042, allocations: 138.2 kB / 1.075 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003462/1.045, allocations: 0.6908 MB / 1.075 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.045, allocations: 0 / 1.075 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.045, allocations: 8 kB / 1.075 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.045, allocations: 3.984 kB / 1.075 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007425/1.053, allocations: 1.956 MB / 1.077 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/1.053, allocations: 11.88 kB / 1.077 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/1.054, allocations: 108 kB / 1.077 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/1.054, allocations: 4 kB / 1.077 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/1.054, allocations: 12 kB / 1.077 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/1.054, allocations: 7.938 kB / 1.077 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.054, allocations: 4 kB / 1.077 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003293/1.057, allocations: 0.8516 MB / 1.078 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009706/1.058, allocations: 299.1 kB / 1.078 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004538/1.059, allocations: 12 kB / 1.078 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.061, allocations: 103.9 kB / 1.079 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.061, allocations: 39.84 kB / 1.079 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/1.061, allocations: 15.98 kB / 1.079 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003093/1.064, allocations: 0.9962 MB / 1.08 GB, free: 15.83 MB / 0.795 GB Notification: Performance of sort global known variables: time 6.71e-07/1.064, allocations: 0 / 1.08 GB, free: 15.83 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003461/1.068, allocations: 0.5694 MB / 1.08 GB, free: 15.26 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.004468/1.072, allocations: 1.564 MB / 1.082 GB, free: 13.63 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005833/1.078, allocations: 1.163 MB / 1.083 GB, free: 12.47 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.078, allocations: 0 / 1.083 GB, free: 12.47 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/1.08, allocations: 284.7 kB / 1.083 GB, free: 12.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009304/1.089, allocations: 0.759 MB / 1.084 GB, free: 11.44 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03877/1.128, allocations: 10.89 MB / 1.094 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.129, allocations: 1.186 MB / 1.096 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003303/1.133, allocations: 367.4 kB / 1.096 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.134, allocations: 0.4915 MB / 1.096 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of SimCode: time 8.42e-07/1.134, allocations: 4 kB / 1.096 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.235, allocations: 35.51 MB / 1.131 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/1.236, allocations: 231.7 kB / 1.131 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.799, allocations: 0 / 1.131 GB, free: 10.43 MB / 0.8419 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)