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.00147/0.00147, allocations: 110.3 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.001213/0.001213, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00244/0.00244, allocations: 292.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.195/1.195, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 99.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4218, allocations: 86.97 MB / 0.767 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1193/0.5411, allocations: 106.6 MB / 0.8712 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05597/0.597, allocations: 35.5 MB / 0.9058 GB, free: 5.484 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00606/0.6031, allocations: 163.1 kB / 0.906 GB, free: 5.324 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00834/0.6114, allocations: 2.976 MB / 0.9089 GB, free: 2.332 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01511/0.6266, allocations: 5.801 MB / 0.9146 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.6368, allocations: 4.127 MB / 0.9186 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.04752/0.6843, allocations: 32.54 MB / 0.9504 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005925/0.6902, allocations: 3.095 MB / 0.9534 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01035/0.7006, allocations: 4.439 MB / 0.9577 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3807/1.081, allocations: 3.444 MB / 0.9611 GB, free: 36.2 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001821/1.083, allocations: 479.3 kB / 0.9616 GB, free: 36.2 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007228/1.09, allocations: 3.003 MB / 0.9645 GB, free: 36.2 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002615/1.093, allocations: 2.007 MB / 0.9664 GB, free: 36.2 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004502/1.097, allocations: 3.1 MB / 0.9695 GB, free: 35.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/1.109, allocations: 9.515 MB / 0.9788 GB, free: 34.08 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/1.109, allocations: 4.938 kB / 0.9788 GB, free: 34.08 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.522e-06/1.109, allocations: 0.7812 kB / 0.9788 GB, free: 34.08 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000192/1.109, allocations: 0 / 0.9788 GB, free: 34.08 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.01217/1.122, allocations: 6.693 MB / 0.9853 GB, free: 30.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/1.122, allocations: 9.531 kB / 0.9853 GB, free: 30.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/1.133, allocations: 1.95 MB / 0.9872 GB, free: 30.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01777/1.151, allocations: 7.653 MB / 0.9947 GB, free: 29.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/1.151, allocations: 187.6 kB / 0.9949 GB, free: 29.24 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009203/1.152, allocations: 246.5 kB / 0.9951 GB, free: 29.24 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006012/1.158, allocations: 3.405 MB / 0.9984 GB, free: 28.89 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/1.158, allocations: 9.25 kB / 0.9984 GB, free: 28.89 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/1.159, allocations: 87.34 kB / 0.9985 GB, free: 28.89 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/1.159, allocations: 60.78 kB / 0.9986 GB, free: 28.89 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005896/1.165, allocations: 2.567 MB / 1.001 GB, free: 28.84 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.0193/1.184, allocations: 15.27 MB / 1.016 GB, free: 22.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005253/1.189, allocations: 2.318 MB / 1.018 GB, free: 22.12 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/1.191, allocations: 0.9838 MB / 1.019 GB, free: 22.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008216/1.2, allocations: 5.44 MB / 1.025 GB, free: 19.29 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.2, allocations: 47.7 kB / 1.025 GB, free: 19.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 3.446e-06/1.2, allocations: 0 / 1.025 GB, free: 19.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.01164/1.211, allocations: 4.252 MB / 1.029 GB, free: 17.86 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/1.211, allocations: 64.19 kB / 1.029 GB, free: 17.79 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007614/1.219, allocations: 5.733 MB / 1.034 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005952/1.219, allocations: 61.42 kB / 1.034 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001547/1.221, allocations: 2.312 MB / 1.037 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/1.221, allocations: 442.2 kB / 1.037 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/1.223, allocations: 0.9148 MB / 1.038 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.476e-05/1.223, allocations: 303.9 kB / 1.038 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003892/1.227, allocations: 2.903 MB / 1.041 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004254/1.231, allocations: 3.784 MB / 1.045 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007681/1.239, allocations: 6.167 MB / 1.051 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/1.239, allocations: 5.188 kB / 1.051 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01317/1.252, allocations: 7.825 MB / 1.059 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/1.252, allocations: 16 kB / 1.059 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/1.252, allocations: 19.75 kB / 1.059 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/1.254, allocations: 0.9722 MB / 1.06 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.257, allocations: 0.6859 MB / 1.06 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/1.26, allocations: 2.966 MB / 1.063 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/1.265, allocations: 469.9 kB / 1.064 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004992/1.265, allocations: 227.9 kB / 1.064 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006862/1.272, allocations: 3.525 MB / 1.067 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005468/1.278, allocations: 3.312 MB / 1.07 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009055/1.287, allocations: 5.222 MB / 1.076 GB, free: 10 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.418e-05/1.287, allocations: 4 kB / 1.076 GB, free: 10 MB / 0.7481 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01426/1.301, allocations: 6.94 MB / 1.082 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.301, allocations: 12 kB / 1.082 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/1.301, allocations: 20.84 kB / 1.082 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/1.305, allocations: 1.083 MB / 1.083 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/1.307, allocations: 0.6467 MB / 1.084 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02348/1.331, allocations: 16.55 MB / 1.1 GB, free: 288 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/1.336, allocations: 384 kB / 1.101 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004675/1.337, allocations: 187.9 kB / 1.101 GB, free: 15.72 MB / 0.7794 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.0007968/1.337, allocations: 338.4 kB / 1.101 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.338, allocations: 0.5083 MB / 1.102 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00938/1.348, allocations: 3.545 MB / 1.105 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/1.348, allocations: 16 kB / 1.105 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.348, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.348, allocations: 7.969 kB / 1.105 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.362, allocations: 6.527 MB / 1.111 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.362, allocations: 4 kB / 1.111 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/1.364, allocations: 317.1 kB / 1.112 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/1.365, allocations: 450.8 kB / 1.112 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/1.366, allocations: 59.94 kB / 1.112 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/1.368, allocations: 2.798 MB / 1.115 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.368, allocations: 7.094 kB / 1.115 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008813/1.377, allocations: 3.289 MB / 1.118 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/1.38, allocations: 0.86 MB / 1.119 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007521/1.38, allocations: 24 kB / 1.119 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/1.383, allocations: 159.8 kB / 1.119 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/1.383, allocations: 96 kB / 1.119 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/1.383, allocations: 91.92 kB / 1.119 GB, free: 12.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.006607/1.39, allocations: 3.802 MB / 1.123 GB, free: 8.742 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/1.39, allocations: 0 / 1.123 GB, free: 8.742 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0068/1.397, allocations: 2.422 MB / 1.125 GB, free: 6.316 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.002269/1.399, allocations: 0.936 MB / 1.126 GB, free: 5.453 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01611/1.415, allocations: 7.811 MB / 1.134 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.415, allocations: 192 / 1.134 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003231/1.418, allocations: 1.154 MB / 1.135 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01045/1.429, allocations: 2.554 MB / 1.138 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/1.445, allocations: 8.811 MB / 1.146 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/1.449, allocations: 2.965 MB / 1.149 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005802/1.454, allocations: 1.391 MB / 1.15 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.456, allocations: 391.2 kB / 1.151 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of SimCode: time 1.383e-06/1.456, allocations: 4 kB / 1.151 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.1938/1.649, allocations: 111.5 MB / 1.26 GB, free: 15.05 MB / 0.9356 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)