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.001594/0.001594, allocations: 105.9 kB / 16.4 MB, free: 6.488 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.00178/0.00178, allocations: 191.8 kB / 17.34 MB, free: 5.754 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003026/0.003026, allocations: 281.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004073/0.004073, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4284, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.6408/1.069, allocations: 238.1 MB / 0.9996 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01648/1.086, allocations: 15.81 MB / 1.015 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/1.088, allocations: 65.78 kB / 1.015 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002258/1.09, allocations: 1.079 MB / 1.016 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006547/1.097, allocations: 3.107 MB / 1.019 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/1.1, allocations: 1.7 MB / 1.021 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004387/1.105, allocations: 3.43 MB / 1.024 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/1.106, allocations: 1.064 MB / 1.025 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005657/1.112, allocations: 2.573 MB / 1.028 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/1.114, allocations: 1.089 MB / 1.029 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002263/1.114, allocations: 117.9 kB / 1.029 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006253/1.121, allocations: 3.107 MB / 1.032 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/1.122, allocations: 489.3 kB / 1.032 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/1.123, allocations: 0.8084 MB / 1.033 GB, free: 464 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007009/1.13, allocations: 2.987 MB / 1.036 GB, free: 56 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.13, allocations: 3.844 kB / 1.036 GB, free: 56 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/1.13, allocations: 0 / 1.036 GB, free: 56 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.548e-05/1.13, allocations: 0.9062 kB / 1.036 GB, free: 56 kB / 0.7169 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.004063/1.134, allocations: 2.065 MB / 1.038 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/1.134, allocations: 10.16 kB / 1.038 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/1.137, allocations: 0.5001 MB / 1.039 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/1.139, allocations: 1.175 MB / 1.04 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/1.139, allocations: 83.5 kB / 1.04 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/1.139, allocations: 97.88 kB / 1.04 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/1.142, allocations: 1.358 MB / 1.041 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/1.142, allocations: 9.141 kB / 1.041 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.142, allocations: 43.69 kB / 1.041 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/1.142, allocations: 47.8 kB / 1.041 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/1.144, allocations: 1.051 MB / 1.042 GB, free: 14.05 MB / 0.7325 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.008601/1.153, allocations: 7.399 MB / 1.05 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/1.154, allocations: 0.5157 MB / 1.05 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005932/1.155, allocations: 251.5 kB / 1.05 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004032/1.155, allocations: 286.9 kB / 1.051 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/1.155, allocations: 35.75 kB / 1.051 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/1.155, allocations: 0 / 1.051 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002345/1.157, allocations: 0.8469 MB / 1.052 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/1.157, allocations: 60.19 kB / 1.052 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/1.159, allocations: 1.392 MB / 1.053 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/1.159, allocations: 32.8 kB / 1.053 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000627/1.16, allocations: 0.7135 MB / 1.054 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/1.16, allocations: 125.8 kB / 1.054 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/1.16, allocations: 180.6 kB / 1.054 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.161, allocations: 331.4 kB / 1.054 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/1.161, allocations: 310.4 kB / 1.055 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/1.163, allocations: 0.6869 MB / 1.055 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/1.164, allocations: 0.9299 MB / 1.056 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.164, allocations: 5 kB / 1.056 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002407/1.167, allocations: 1.058 MB / 1.057 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.167, allocations: 16.41 kB / 1.057 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.167, allocations: 11.53 kB / 1.057 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.167, allocations: 16.97 kB / 1.057 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/1.168, allocations: 207.8 kB / 1.057 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/1.168, allocations: 21.31 kB / 1.057 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.169, allocations: 181.3 kB / 1.058 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/1.169, allocations: 41.77 kB / 1.058 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001274/1.171, allocations: 0.5718 MB / 1.058 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001152/1.172, allocations: 0.6871 MB / 1.059 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001729/1.173, allocations: 0.925 MB / 1.06 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.08e-06/1.173, allocations: 6.906 kB / 1.06 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00235/1.176, allocations: 1.046 MB / 1.061 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.176, allocations: 7.812 kB / 1.061 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.176, allocations: 14.72 kB / 1.061 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.176, allocations: 19.84 kB / 1.061 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/1.177, allocations: 202.7 kB / 1.061 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/1.177, allocations: 20.53 kB / 1.061 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.178, allocations: 141.3 kB / 1.061 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/1.178, allocations: 46.89 kB / 1.061 GB, free: 1.398 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0002737/1.178, allocations: 236.2 kB / 1.061 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/1.178, allocations: 148.5 kB / 1.062 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/1.18, allocations: 0.6461 MB / 1.062 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.18, allocations: 2.812 kB / 1.062 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.18, allocations: 4 kB / 1.062 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.18, allocations: 2.438 kB / 1.062 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/1.184, allocations: 1.89 MB / 1.064 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.184, allocations: 7.984 kB / 1.064 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/1.184, allocations: 89.17 kB / 1.064 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.184, allocations: 4 kB / 1.064 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/1.184, allocations: 20.09 kB / 1.064 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.184, allocations: 10.56 kB / 1.064 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.184, allocations: 8 kB / 1.064 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/1.186, allocations: 0.8165 MB / 1.065 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/1.187, allocations: 311.8 kB / 1.065 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.187, allocations: 8 kB / 1.065 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.188, allocations: 67.92 kB / 1.065 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/1.188, allocations: 30.53 kB / 1.065 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/1.188, allocations: 27.97 kB / 1.065 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001598/1.19, allocations: 1.008 MB / 1.066 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.19, allocations: 0 / 1.066 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001929/1.192, allocations: 0.5813 MB / 1.067 GB, free: 12.27 MB / 0.7481 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.0006203/1.192, allocations: 268.8 kB / 1.067 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002925/1.195, allocations: 1.083 MB / 1.068 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.195, allocations: 0.9375 kB / 1.068 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000676/1.196, allocations: 252 kB / 1.069 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/1.199, allocations: 0.7399 MB / 1.069 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/1.205, allocations: 2.279 MB / 1.071 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009157/1.206, allocations: 1.182 MB / 1.073 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001366/1.207, allocations: 383.7 kB / 1.073 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/1.207, allocations: 103.4 kB / 1.073 GB, free: 6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.272e-06/1.207, allocations: 4 kB / 1.073 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of Templates: time 0.04616/1.253, allocations: 25.31 MB / 1.098 GB, free: 13.15 MB / 0.7794 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)