Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7101/0.7101, allocations: 128.7 MB / 144.5 MB, free: 1.344 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 189.4 kB / 174.2 MB, free: 5.91 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 408.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009887/0.0009887, allocations: 105.9 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 57.48 kB / 0.558 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1324, allocations: 75.47 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4): time 0.5068/0.6392, allocations: 249.8 MB / 0.8756 GB, free: 448 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01975/0.659, allocations: 15.99 MB / 0.8912 GB, free: 412 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/0.6614, allocations: 59.62 kB / 0.8913 GB, free: 352 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.6637, allocations: 0.8627 MB / 0.8921 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.006801/0.6706, allocations: 2.791 MB / 0.8949 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.6749, allocations: 1.649 MB / 0.8965 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005497/0.6804, allocations: 4.783 MB / 0.9011 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.6819, allocations: 1.099 MB / 0.9022 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005186/0.6871, allocations: 2.077 MB / 0.9042 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.6898, allocations: 1.204 MB / 0.9054 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.69, allocations: 64 kB / 0.9055 GB, free: 1.785 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005632/0.6956, allocations: 3.589 MB / 0.909 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.6961, allocations: 426.3 kB / 0.9094 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008251/0.6969, allocations: 0.7538 MB / 0.9101 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.701, allocations: 3.198 MB / 0.9133 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7011, allocations: 0 / 0.9133 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of FrontEnd: time 7.72e-07/0.7011, allocations: 3.938 kB / 0.9133 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.411e-05/0.7011, allocations: 4 kB / 0.9133 GB, free: 9.797 MB / 0.6042 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.003497/0.7046, allocations: 2 MB / 0.9152 GB, free: 7.742 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.7046, allocations: 8.031 kB / 0.9152 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.7071, allocations: 485.5 kB / 0.9157 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.7099, allocations: 1.129 MB / 0.9168 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001384/0.7113, allocations: 241.8 kB / 0.917 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.7116, allocations: 100 kB / 0.9171 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/0.7157, allocations: 1.36 MB / 0.9184 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.7157, allocations: 7.922 kB / 0.9185 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.7159, allocations: 44 kB / 0.9185 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.6e-05/0.716, allocations: 49.98 kB / 0.9185 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/0.7204, allocations: 1.128 MB / 0.9196 GB, free: 3.062 MB / 0.6042 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.01158/0.732, allocations: 6.615 MB / 0.9261 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.7346, allocations: 0.6395 MB / 0.9267 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/0.7354, allocations: 269.4 kB / 0.927 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004473/0.7359, allocations: 279.3 kB / 0.9273 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.7359, allocations: 46.55 kB / 0.9273 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 3.036e-06/0.7359, allocations: 0 / 0.9273 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31): time 0.003681/0.7396, allocations: 0.9368 MB / 0.9282 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.7397, allocations: 55.41 kB / 0.9283 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.7417, allocations: 1.361 MB / 0.9296 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.7418, allocations: 33.7 kB / 0.9296 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005649/0.7424, allocations: 0.6796 MB / 0.9303 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.7425, allocations: 114.4 kB / 0.9304 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.7428, allocations: 158 kB / 0.9305 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7429, allocations: 326 kB / 0.9309 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.7441, allocations: 339.2 kB / 0.9312 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.7455, allocations: 0.6387 MB / 0.9318 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.7477, allocations: 0.8847 MB / 0.9327 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.7477, allocations: 4 kB / 0.9327 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002593/0.7503, allocations: 1.031 MB / 0.9337 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.7503, allocations: 8 kB / 0.9337 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.7503, allocations: 8 kB / 0.9337 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.7503, allocations: 16 kB / 0.9337 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.7512, allocations: 204 kB / 0.9339 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.7513, allocations: 19.92 kB / 0.9339 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.7526, allocations: 214.8 kB / 0.9341 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.7527, allocations: 39.98 kB / 0.9342 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/0.7538, allocations: 0.5636 MB / 0.9347 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/0.7549, allocations: 0.6309 MB / 0.9353 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001705/0.7566, allocations: 0.8537 MB / 0.9362 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.97e-06/0.7566, allocations: 0.9375 kB / 0.9362 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.002241/0.7589, allocations: 1.007 MB / 0.9372 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.7589, allocations: 8 kB / 0.9372 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.7589, allocations: 12 kB / 0.9372 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.759, allocations: 15.94 kB / 0.9372 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/0.7597, allocations: 192.4 kB / 0.9374 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.7598, allocations: 23.92 kB / 0.9374 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.7609, allocations: 155.6 kB / 0.9375 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.761, allocations: 32 kB / 0.9376 GB, free: 15.52 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (79): * Single equations (assignments): 79 * 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.0001891/0.7612, allocations: 239.9 kB / 0.9378 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.7614, allocations: 134.3 kB / 0.9379 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.7632, allocations: 0.6707 MB / 0.9386 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.7632, allocations: 4 kB / 0.9386 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7632, allocations: 3.984 kB / 0.9386 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7632, allocations: 0 / 0.9386 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.7674, allocations: 1.899 MB / 0.9404 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.7674, allocations: 8 kB / 0.9405 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/0.768, allocations: 107.9 kB / 0.9406 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.768, allocations: 7.938 kB / 0.9406 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.7681, allocations: 11.98 kB / 0.9406 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.7681, allocations: 8 kB / 0.9406 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.7681, allocations: 4 kB / 0.9406 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.7711, allocations: 1.941 MB / 0.9425 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/0.7716, allocations: 279.2 kB / 0.9427 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.7718, allocations: 12 kB / 0.9428 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.7729, allocations: 103.8 kB / 0.9429 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.773, allocations: 35.83 kB / 0.9429 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/0.7731, allocations: 19.98 kB / 0.9429 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001337/0.7744, allocations: 0.9274 MB / 0.9438 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7744, allocations: 0 / 0.9438 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001765/0.7762, allocations: 0.5692 MB / 0.9444 GB, free: 8.312 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 31 * 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.0005675/0.7768, allocations: 265.5 kB / 0.9446 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002988/0.7798, allocations: 1.123 MB / 0.9457 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7798, allocations: 0.8125 kB / 0.9457 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.7805, allocations: 279 kB / 0.946 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/0.7839, allocations: 0.677 MB / 0.9467 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.7894, allocations: 2.905 MB / 0.9495 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/0.7903, allocations: 1.189 MB / 0.9506 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00152/0.7918, allocations: 351 kB / 0.951 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.7921, allocations: 87.42 kB / 0.9511 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.7921, allocations: 0 / 0.9511 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of Templates: time 0.03812/0.8302, allocations: 23 MB / 0.9735 GB, free: 10.58 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)