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.005184/0.005184, allocations: 98.52 kB / 15.73 MB, free: 6.051 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.001195/0.001195, allocations: 191.5 kB / 16.67 MB, free: 5.977 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002171, allocations: 285.3 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 95.84 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1493, allocations: 86.98 MB / 0.7664 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5608/0.7101, allocations: 237.5 MB / 0.9983 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.7305, allocations: 15.79 MB / 1.014 GB, free: 5.273 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.7329, allocations: 59.62 kB / 1.014 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.7356, allocations: 1.041 MB / 1.015 GB, free: 4.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0076/0.7432, allocations: 2.973 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.7477, allocations: 1.683 MB / 1.019 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005042/0.7527, allocations: 3.437 MB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.7547, allocations: 1.288 MB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006056/0.7608, allocations: 2.53 MB / 1.026 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.7633, allocations: 1.08 MB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.7638, allocations: 120 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00617/0.77, allocations: 3.095 MB / 1.031 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006956/0.7707, allocations: 478.4 kB / 1.031 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.7723, allocations: 0.8085 MB / 1.032 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005721/0.7781, allocations: 2.976 MB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.7781, allocations: 4 kB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7781, allocations: 0 / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.321e-05/0.7782, allocations: 0 / 1.035 GB, free: 15.67 MB / 0.795 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.004325/0.7825, allocations: 2.009 MB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.7826, allocations: 12.03 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/0.7854, allocations: 0.4898 MB / 1.037 GB, free: 13.1 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.7876, allocations: 1.164 MB / 1.038 GB, free: 11.88 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.7877, allocations: 82 kB / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.7879, allocations: 99.92 kB / 1.039 GB, free: 11.7 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.7902, allocations: 1.35 MB / 1.04 GB, free: 10.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.7903, allocations: 7.938 kB / 1.04 GB, free: 10.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.952e-05/0.7904, allocations: 48 kB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-05/0.7904, allocations: 38 kB / 1.04 GB, free: 10.14 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.7928, allocations: 1.057 MB / 1.041 GB, free: 9.082 MB / 0.795 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.007755/0.8005, allocations: 7.387 MB / 1.048 GB, free: 1.219 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.8021, allocations: 0.5386 MB / 1.049 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.8028, allocations: 261.2 kB / 1.049 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/0.8032, allocations: 279.6 kB / 1.049 GB, free: 88 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.8032, allocations: 46.77 kB / 1.049 GB, free: 32 kB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.8032, allocations: 0 / 1.049 GB, free: 32 kB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002376/0.8056, allocations: 0.8325 MB / 1.05 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.47e-05/0.8056, allocations: 55.41 kB / 1.05 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.8075, allocations: 1.395 MB / 1.052 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.8076, allocations: 37.7 kB / 1.052 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005564/0.8082, allocations: 0.7026 MB / 1.052 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.8083, allocations: 126.3 kB / 1.052 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.8085, allocations: 162.4 kB / 1.053 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8087, allocations: 337.9 kB / 1.053 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008545/0.8095, allocations: 313.5 kB / 1.053 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.8107, allocations: 0.6852 MB / 1.054 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.8124, allocations: 0.9308 MB / 1.055 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.8124, allocations: 4 kB / 1.055 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002393/0.8148, allocations: 1.046 MB / 1.056 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.8149, allocations: 15.94 kB / 1.056 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.8149, allocations: 8.844 kB / 1.056 GB, free: 9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.8149, allocations: 16 kB / 1.056 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008548/0.8158, allocations: 212.6 kB / 1.056 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.8158, allocations: 19.94 kB / 1.056 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.8172, allocations: 182.7 kB / 1.056 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/0.8173, allocations: 43.98 kB / 1.056 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001185/0.8185, allocations: 0.5604 MB / 1.057 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001051/0.8195, allocations: 0.6891 MB / 1.057 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001705/0.8212, allocations: 0.9294 MB / 1.058 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.214e-06/0.8213, allocations: 0 / 1.058 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002368/0.8236, allocations: 1.052 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.8237, allocations: 11.94 kB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.8237, allocations: 12 kB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8237, allocations: 16 kB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/0.8245, allocations: 215.7 kB / 1.06 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.8246, allocations: 19.94 kB / 1.06 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.8259, allocations: 135.5 kB / 1.06 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.826, allocations: 43.98 kB / 1.06 GB, free: 4.512 MB / 0.8106 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.0002279/0.8262, allocations: 228.7 kB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.8265, allocations: 142.2 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.8281, allocations: 0.6491 MB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.8281, allocations: 4 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8281, allocations: 0 / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.8281, allocations: 0 / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.8317, allocations: 1.885 MB / 1.063 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.8317, allocations: 4 kB / 1.063 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.8323, allocations: 96.08 kB / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/0.8323, allocations: 11.94 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.8324, allocations: 11.98 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/0.8324, allocations: 15.88 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.8324, allocations: 4 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.8341, allocations: 0.8113 MB / 1.064 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005805/0.8347, allocations: 303 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.835, allocations: 8 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.8361, allocations: 67.92 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.8362, allocations: 39.84 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/0.8362, allocations: 19.98 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001796/0.838, allocations: 1.009 MB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8381, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001982/0.84, allocations: 0.5735 MB / 1.066 GB, free: 14.43 MB / 0.8262 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.0006432/0.8407, allocations: 272.9 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002882/0.8436, allocations: 1.121 MB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8436, allocations: 0 / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006915/0.8443, allocations: 256.6 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/0.8478, allocations: 0.743 MB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/0.8527, allocations: 2.24 MB / 1.07 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008128/0.8535, allocations: 1.178 MB / 1.071 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001354/0.8549, allocations: 399.7 kB / 1.072 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.8551, allocations: 103.4 kB / 1.072 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.8551, allocations: 0 / 1.072 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.3433/1.198, allocations: 25.17 MB / 1.096 GB, free: 291 MB / 0.8419 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)