Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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: translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 91.84 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.00788/0.00788, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 270.8 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9617/0.9617, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004201, allocations: 13.62 kB / 0.5987 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1654, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.61/0.7754, allocations: 232.2 MB / 0.9119 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02073/0.7962, allocations: 15.74 MB / 0.9273 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.7984, allocations: 51.62 kB / 0.9273 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.8011, allocations: 0.8705 MB / 0.9282 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007981/0.8091, allocations: 2.794 MB / 0.9309 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004476/0.8136, allocations: 1.512 MB / 0.9324 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006046/0.8196, allocations: 4.658 MB / 0.9369 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.8212, allocations: 1.04 MB / 0.9379 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005843/0.8271, allocations: 2.22 MB / 0.9401 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.8295, allocations: 1.063 MB / 0.9411 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.8297, allocations: 52 kB / 0.9412 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005869/0.8355, allocations: 3.581 MB / 0.9447 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004796/0.836, allocations: 394.5 kB / 0.945 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00091/0.837, allocations: 0.7437 MB / 0.9458 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.8412, allocations: 3.053 MB / 0.9488 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8412, allocations: 0 / 0.9488 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8412, allocations: 0 / 0.9488 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.8412, allocations: 0 / 0.9488 GB, free: 1.75 MB / 0.6544 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.003005/0.8442, allocations: 1.723 MB / 0.9504 GB, free: 15.97 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.8443, allocations: 8.031 kB / 0.9504 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/0.8469, allocations: 0.5403 MB / 0.951 GB, free: 15.42 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.8489, allocations: 1.121 MB / 0.9521 GB, free: 14.25 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009653/0.8499, allocations: 273.8 kB / 0.9523 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.8501, allocations: 96 kB / 0.9524 GB, free: 13.88 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.8524, allocations: 1.338 MB / 0.9537 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.8525, allocations: 4 kB / 0.9537 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.8526, allocations: 40 kB / 0.9538 GB, free: 12.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/0.8527, allocations: 53.92 kB / 0.9538 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.8552, allocations: 1.112 MB / 0.9549 GB, free: 11.25 MB / 0.67 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.007038/0.8622, allocations: 6.651 MB / 0.9614 GB, free: 4.156 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.8639, allocations: 0.6089 MB / 0.962 GB, free: 3.539 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006866/0.8646, allocations: 289.2 kB / 0.9623 GB, free: 3.254 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/0.865, allocations: 287.5 kB / 0.9625 GB, free: 2.918 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.865, allocations: 38.84 kB / 0.9626 GB, free: 2.871 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.8651, allocations: 0 / 0.9626 GB, free: 2.871 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002471/0.8675, allocations: 0.9106 MB / 0.9635 GB, free: 1.953 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.8676, allocations: 55.41 kB / 0.9635 GB, free: 1.887 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.8693, allocations: 1.366 MB / 0.9649 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.8694, allocations: 33.7 kB / 0.9649 GB, free: 484 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/0.8699, allocations: 0.6873 MB / 0.9656 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.87, allocations: 114.4 kB / 0.9657 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.8701, allocations: 53.69 kB / 0.9657 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8702, allocations: 330 kB / 0.966 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008793/0.8711, allocations: 325.1 kB / 0.9663 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.8723, allocations: 0.6418 MB / 0.967 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.874, allocations: 0.903 MB / 0.9679 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.8741, allocations: 4 kB / 0.9679 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002356/0.8764, allocations: 1.035 MB / 0.9689 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002405/0.8767, allocations: 369.8 kB / 0.9692 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.8767, allocations: 8 kB / 0.9692 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.8767, allocations: 16 kB / 0.9692 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008443/0.8776, allocations: 199.7 kB / 0.9694 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.8776, allocations: 23.92 kB / 0.9695 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.879, allocations: 230.8 kB / 0.9697 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.8791, allocations: 35.98 kB / 0.9697 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.834e-06/0.8791, allocations: 6.344 kB / 0.9697 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002157/0.8813, allocations: 0.8898 MB / 0.9706 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.8813, allocations: 12 kB / 0.9706 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.8813, allocations: 19.88 kB / 0.9706 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/0.8822, allocations: 208.3 kB / 0.9708 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.8822, allocations: 19.92 kB / 0.9708 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.8834, allocations: 191 kB / 0.971 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.8835, allocations: 43.98 kB / 0.9711 GB, free: 9.719 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.0005905/0.8841, allocations: 410.1 kB / 0.9715 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.8843, allocations: 142.2 kB / 0.9716 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.886, allocations: 0.6907 MB / 0.9723 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.8861, allocations: 7.984 kB / 0.9723 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8861, allocations: 0 / 0.9723 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8861, allocations: 4 kB / 0.9723 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003561/0.8896, allocations: 1.964 MB / 0.9742 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.8897, allocations: 7.984 kB / 0.9742 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.8902, allocations: 104 kB / 0.9743 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.8902, allocations: 4 kB / 0.9743 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.8903, allocations: 15.94 kB / 0.9743 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.8903, allocations: 11.92 kB / 0.9743 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8903, allocations: 8 kB / 0.9743 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.8919, allocations: 0.8436 MB / 0.9752 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.8924, allocations: 307 kB / 0.9755 GB, free: 5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.8926, allocations: 8 kB / 0.9755 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.8937, allocations: 107.9 kB / 0.9756 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.8938, allocations: 39.84 kB / 0.9756 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.8939, allocations: 19.98 kB / 0.9756 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001552/0.8954, allocations: 1 MB / 0.9766 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8955, allocations: 0 / 0.9766 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001853/0.8973, allocations: 0.5733 MB / 0.9772 GB, free: 3.258 MB / 0.6856 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.0006227/0.8979, allocations: 277.8 kB / 0.9774 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003013/0.901, allocations: 1.135 MB / 0.9785 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.901, allocations: 4.938 kB / 0.9785 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007524/0.9018, allocations: 288.4 kB / 0.9788 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/0.9063, allocations: 0.7775 MB / 0.9796 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/0.9117, allocations: 2.707 MB / 0.9822 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.9125, allocations: 1.182 MB / 0.9834 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001609/0.9141, allocations: 363.5 kB / 0.9837 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.9144, allocations: 99.42 kB / 0.9838 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of SimCode: time 2.995e-06/0.9144, allocations: 0 / 0.9838 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of Templates: time 0.04144/0.9558, allocations: 25.42 MB / 1.009 GB, free: 3.254 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)