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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7909/0.7909, allocations: 143.4 MB / 159.2 MB, free: 4.922 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 180.5 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009848, allocations: 111.5 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001835/0.001835, allocations: 270.8 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 79.88 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4056, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.6119/1.018, allocations: 235.4 MB / 0.9978 GB, free: 10.35 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02636/1.044, allocations: 15.89 MB / 1.013 GB, free: 0.668 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003854/1.048, allocations: 52.28 kB / 1.013 GB, free: 0.6484 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004065/1.052, allocations: 0.8773 MB / 1.014 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01089/1.063, allocations: 2.785 MB / 1.017 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.005516/1.068, allocations: 1.511 MB / 1.018 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.006797/1.075, allocations: 4.673 MB / 1.023 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/1.078, allocations: 1.071 MB / 1.024 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007578/1.085, allocations: 2.274 MB / 1.026 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/1.089, allocations: 1.123 MB / 1.027 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0005771/1.089, allocations: 64 kB / 1.027 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008941/1.098, allocations: 3.589 MB / 1.031 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/1.1, allocations: 426.5 kB / 1.031 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002317/1.102, allocations: 0.7615 MB / 1.032 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.007447/1.11, allocations: 3.096 MB / 1.035 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.11, allocations: 0 / 1.035 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/1.11, allocations: 0 / 1.035 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.626e-05/1.11, allocations: 0 / 1.035 GB, free: 11.4 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.005248/1.115, allocations: 2.005 MB / 1.037 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.115, allocations: 8.031 kB / 1.037 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/1.118, allocations: 0.5014 MB / 1.038 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/1.121, allocations: 1.114 MB / 1.039 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000936/1.122, allocations: 241.8 kB / 1.039 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/1.122, allocations: 104 kB / 1.039 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/1.125, allocations: 1.322 MB / 1.04 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/1.125, allocations: 4 kB / 1.04 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/1.125, allocations: 39.94 kB / 1.04 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/1.125, allocations: 49.98 kB / 1.04 GB, free: 5.812 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/1.128, allocations: 1.069 MB / 1.041 GB, free: 4.746 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.008222/1.136, allocations: 6.646 MB / 1.048 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/1.138, allocations: 0.5723 MB / 1.048 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/1.138, allocations: 269.2 kB / 1.049 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003938/1.139, allocations: 291.5 kB / 1.049 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/1.139, allocations: 34.84 kB / 1.049 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/1.139, allocations: 0 / 1.049 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.002665/1.141, allocations: 0.8648 MB / 1.05 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.141, allocations: 55.41 kB / 1.05 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/1.144, allocations: 1.362 MB / 1.051 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/1.144, allocations: 33.7 kB / 1.051 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005266/1.144, allocations: 0.6833 MB / 1.052 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/1.144, allocations: 122.3 kB / 1.052 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/1.145, allocations: 158 kB / 1.052 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.145, allocations: 334 kB / 1.053 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008732/1.146, allocations: 315.2 kB / 1.053 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.147, allocations: 0.6404 MB / 1.053 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/1.149, allocations: 0.8792 MB / 1.054 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/1.149, allocations: 4 kB / 1.054 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002678/1.151, allocations: 1.015 MB / 1.055 GB, free: 5.629 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.151, allocations: 9.719 kB / 1.055 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/1.151, allocations: 12 kB / 1.055 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/1.152, allocations: 12 kB / 1.055 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/1.152, allocations: 200.2 kB / 1.056 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/1.152, allocations: 19.92 kB / 1.056 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.154, allocations: 218.7 kB / 1.056 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/1.154, allocations: 43.98 kB / 1.056 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001388/1.156, allocations: 0.5636 MB / 1.056 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/1.157, allocations: 0.6482 MB / 1.057 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00172/1.158, allocations: 0.8751 MB / 1.058 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.242e-06/1.158, allocations: 4 kB / 1.058 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002464/1.161, allocations: 1.008 MB / 1.059 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.161, allocations: 15.92 kB / 1.059 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.161, allocations: 8 kB / 1.059 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.161, allocations: 16 kB / 1.059 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/1.162, allocations: 195.8 kB / 1.059 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/1.162, allocations: 23.86 kB / 1.059 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/1.163, allocations: 162.3 kB / 1.059 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/1.163, allocations: 43.98 kB / 1.059 GB, free: 1.273 MB / 0.6198 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.000241/1.164, allocations: 235.9 kB / 1.059 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/1.164, allocations: 138.2 kB / 1.06 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/1.166, allocations: 0.6517 MB / 1.06 GB, free: 240 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.166, allocations: 11.98 kB / 1.06 GB, free: 228 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.166, allocations: 0 / 1.06 GB, free: 228 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.166, allocations: 0 / 1.06 GB, free: 228 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/1.17, allocations: 1.921 MB / 1.062 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/1.17, allocations: 8 kB / 1.062 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/1.17, allocations: 99.95 kB / 1.062 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.17, allocations: 4 kB / 1.062 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/1.17, allocations: 12 kB / 1.062 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/1.17, allocations: 11.92 kB / 1.062 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.17, allocations: 7.984 kB / 1.062 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/1.174, allocations: 1.932 MB / 1.064 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/1.174, allocations: 295.1 kB / 1.064 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/1.174, allocations: 8 kB / 1.064 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.176, allocations: 99.89 kB / 1.065 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.176, allocations: 31.84 kB / 1.065 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/1.176, allocations: 23.98 kB / 1.065 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001619/1.177, allocations: 0.9884 MB / 1.066 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.21e-07/1.177, allocations: 0 / 1.066 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002205/1.18, allocations: 0.5772 MB / 1.066 GB, free: 9.977 MB / 0.6355 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.0006178/1.18, allocations: 267.8 kB / 1.066 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003037/1.183, allocations: 1.097 MB / 1.067 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.183, allocations: 0 / 1.067 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007216/1.184, allocations: 272.8 kB / 1.068 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/1.188, allocations: 0.7525 MB / 1.068 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/1.193, allocations: 2.895 MB / 1.071 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008531/1.194, allocations: 1.189 MB / 1.072 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001703/1.196, allocations: 371.4 kB / 1.073 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/1.196, allocations: 99.42 kB / 1.073 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of SimCode: time 7.12e-07/1.196, allocations: 0 / 1.073 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.04233/1.239, allocations: 24.58 MB / 1.097 GB, free: 10.62 MB / 0.6667 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)