Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 107.9 kB / 16.41 MB, free: 6.496 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.00191/0.00191, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.357/1.357, 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.002282/0.002282, allocations: 281 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9206/0.9206, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 95.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.4729, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1014/0.5743, allocations: 106.4 MB / 0.871 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05275/0.6271, allocations: 35.45 MB / 0.9056 GB, free: 5.602 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007621/0.6348, allocations: 163.1 kB / 0.9058 GB, free: 5.441 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008905/0.6438, allocations: 2.914 MB / 0.9086 GB, free: 2.512 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01637/0.6602, allocations: 5.571 MB / 0.914 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/0.6713, allocations: 4.133 MB / 0.9181 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.04846/0.7198, allocations: 32.4 MB / 0.9497 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007043/0.7268, allocations: 3.684 MB / 0.9533 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/0.7381, allocations: 4.422 MB / 0.9576 GB, free: 184 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4764/1.215, allocations: 3.445 MB / 0.961 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002621/1.217, allocations: 480.3 kB / 0.9615 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009391/1.227, allocations: 3.006 MB / 0.9644 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003906/1.231, allocations: 1.957 MB / 0.9663 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.007576/1.238, allocations: 3.106 MB / 0.9693 GB, free: 35.79 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01667/1.255, allocations: 9.48 MB / 0.9786 GB, free: 34.71 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/1.255, allocations: 0 / 0.9786 GB, free: 34.71 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.036e-06/1.255, allocations: 0 / 0.9786 GB, free: 34.71 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002806/1.255, allocations: 3.094 kB / 0.9786 GB, free: 34.71 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01694/1.272, allocations: 6.481 MB / 0.9849 GB, free: 31.58 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.272, allocations: 10.59 kB / 0.9849 GB, free: 31.58 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/1.284, allocations: 1.91 MB / 0.9868 GB, free: 31.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01896/1.303, allocations: 7.601 MB / 0.9942 GB, free: 30.15 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/1.303, allocations: 190 kB / 0.9944 GB, free: 30.14 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/1.304, allocations: 246.9 kB / 0.9946 GB, free: 30.14 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006442/1.31, allocations: 3.409 MB / 0.998 GB, free: 29.79 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/1.31, allocations: 7.75 kB / 0.998 GB, free: 29.79 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/1.311, allocations: 90.31 kB / 0.9981 GB, free: 29.79 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/1.311, allocations: 58.25 kB / 0.9981 GB, free: 29.78 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006155/1.317, allocations: 2.57 MB / 1.001 GB, free: 29.74 MB / 0.7169 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.02342/1.34, allocations: 15.24 MB / 1.016 GB, free: 23.11 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005755/1.346, allocations: 2.412 MB / 1.018 GB, free: 23.04 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/1.349, allocations: 1.051 MB / 1.019 GB, free: 23.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009406/1.358, allocations: 5.427 MB / 1.024 GB, free: 20.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/1.358, allocations: 46.31 kB / 1.024 GB, free: 20.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 3.547e-06/1.358, allocations: 0 / 1.024 GB, free: 20.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.01226/1.37, allocations: 4.225 MB / 1.028 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/1.37, allocations: 62.94 kB / 1.028 GB, free: 18.72 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00947/1.38, allocations: 5.732 MB / 1.034 GB, free: 17.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007596/1.381, allocations: 67.47 kB / 1.034 GB, free: 17.28 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002499/1.383, allocations: 2.274 MB / 1.036 GB, free: 16.56 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001338/1.385, allocations: 419.7 kB / 1.037 GB, free: 16.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001954/1.387, allocations: 0.9218 MB / 1.038 GB, free: 16.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.256e-05/1.387, allocations: 301.1 kB / 1.038 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004289/1.391, allocations: 2.9 MB / 1.041 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004522/1.395, allocations: 3.783 MB / 1.044 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007919/1.403, allocations: 6.174 MB / 1.05 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/1.403, allocations: 5.75 kB / 1.05 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01289/1.416, allocations: 7.799 MB / 1.058 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/1.416, allocations: 12 kB / 1.058 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/1.416, allocations: 19.94 kB / 1.058 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/1.419, allocations: 0.9786 MB / 1.059 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/1.422, allocations: 0.6858 MB / 1.06 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/1.425, allocations: 2.955 MB / 1.063 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005112/1.43, allocations: 469.4 kB / 1.063 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006926/1.43, allocations: 223.9 kB / 1.063 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006682/1.437, allocations: 3.525 MB / 1.067 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004965/1.442, allocations: 3.309 MB / 1.07 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008461/1.451, allocations: 5.218 MB / 1.075 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.647e-05/1.451, allocations: 7.938 kB / 1.075 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.0139/1.465, allocations: 6.92 MB / 1.082 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/1.465, allocations: 16.47 kB / 1.082 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/1.465, allocations: 16.91 kB / 1.082 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003268/1.468, allocations: 1.093 MB / 1.083 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/1.471, allocations: 0.6425 MB / 1.084 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/1.493, allocations: 16.54 MB / 1.1 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/1.499, allocations: 383.2 kB / 1.1 GB, free: 312 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009377/1.5, allocations: 183.9 kB / 1.1 GB, free: 128 kB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001406/1.501, allocations: 336.7 kB / 1.101 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001879/1.503, allocations: 493.3 kB / 1.101 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009452/1.512, allocations: 3.54 MB / 1.104 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/1.512, allocations: 19.98 kB / 1.104 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.512, allocations: 0 / 1.104 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/1.512, allocations: 6.422 kB / 1.104 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/1.527, allocations: 6.54 MB / 1.111 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.528, allocations: 4 kB / 1.111 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/1.529, allocations: 309.3 kB / 1.111 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/1.53, allocations: 463.2 kB / 1.112 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.531, allocations: 59.94 kB / 1.112 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/1.533, allocations: 2.797 MB / 1.114 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.533, allocations: 0 / 1.114 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008322/1.541, allocations: 3.268 MB / 1.118 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00294/1.544, allocations: 0.8297 MB / 1.118 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.545, allocations: 27.94 kB / 1.118 GB, free: 13.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/1.548, allocations: 159.8 kB / 1.119 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.549, allocations: 93.19 kB / 1.119 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/1.549, allocations: 99.91 kB / 1.119 GB, free: 12.99 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.007375/1.556, allocations: 3.798 MB / 1.122 GB, free: 9.203 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/1.556, allocations: 4 kB / 1.122 GB, free: 9.199 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.008179/1.565, allocations: 2.398 MB / 1.125 GB, free: 6.797 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (121): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002383/1.567, allocations: 0.9348 MB / 1.126 GB, free: 5.941 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01683/1.584, allocations: 8.388 MB / 1.134 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.584, allocations: 8.312 kB / 1.134 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003287/1.587, allocations: 1.218 MB / 1.135 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01218/1.599, allocations: 2.545 MB / 1.138 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.616, allocations: 8.81 MB / 1.146 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/1.619, allocations: 2.914 MB / 1.149 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002075/1.621, allocations: 411.2 kB / 1.149 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of SimCode: time 1.874e-06/1.621, allocations: 0 / 1.149 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.5599/2.181, allocations: 178.9 MB / 1.324 GB, free: 405.4 MB / 0.9669 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)