Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.713/1.713, allocations: 287.5 MB / 302.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001304, allocations: 185.4 kB / 371.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007631/0.0007631, allocations: 94.55 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 11.47 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2049, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.6467/0.8517, allocations: 97.16 MB / 1.074 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06179/0.9135, allocations: 34.42 MB / 1.107 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009999/0.9236, allocations: 142 kB / 1.107 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006408/0.93, allocations: 1.334 MB / 1.109 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01678/0.9468, allocations: 3.985 MB / 1.112 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01302/0.9599, allocations: 2.903 MB / 1.115 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01702/0.9769, allocations: 10.88 MB / 1.126 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007314/0.9843, allocations: 2.891 MB / 1.129 GB, free: 22.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.9959, allocations: 3.214 MB / 1.132 GB, free: 20.88 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007478/1.003, allocations: 2.795 MB / 1.135 GB, free: 19.97 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001904/1.005, allocations: 166.4 kB / 1.135 GB, free: 19.97 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009745/1.015, allocations: 1.828 MB / 1.137 GB, free: 19.47 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003118/1.018, allocations: 1.039 MB / 1.138 GB, free: 18.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003492/1.022, allocations: 0.8553 MB / 1.138 GB, free: 18.3 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/1.034, allocations: 5.561 MB / 1.144 GB, free: 14.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/1.034, allocations: 3.984 kB / 1.144 GB, free: 14.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.476e-06/1.034, allocations: 0 / 1.144 GB, free: 14.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003497/1.034, allocations: 0 / 1.144 GB, free: 14.6 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01464/1.049, allocations: 4.327 MB / 1.148 GB, free: 11.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/1.049, allocations: 12.5 kB / 1.148 GB, free: 11.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007346/1.056, allocations: 1.274 MB / 1.149 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/1.07, allocations: 4.259 MB / 1.154 GB, free: 8.094 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/1.07, allocations: 183.4 kB / 1.154 GB, free: 8.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/1.071, allocations: 234.8 kB / 1.154 GB, free: 7.938 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008482/1.08, allocations: 2.722 MB / 1.157 GB, free: 6.238 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.02e-05/1.08, allocations: 11.92 kB / 1.157 GB, free: 6.227 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006023/1.081, allocations: 86.34 kB / 1.157 GB, free: 6.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/1.081, allocations: 56.42 kB / 1.157 GB, free: 6.156 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006282/1.087, allocations: 1.986 MB / 1.159 GB, free: 5.184 MB / 0.698 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.02789/1.115, allocations: 12.42 MB / 1.171 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004309/1.119, allocations: 1.601 MB / 1.172 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/1.121, allocations: 0.7473 MB / 1.173 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009674/1.131, allocations: 4.077 MB / 1.177 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/1.131, allocations: 41.97 kB / 1.177 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002301/1.133, allocations: 200 kB / 1.177 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 8.526e-06/1.133, allocations: 0 / 1.177 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.01008/1.143, allocations: 3.133 MB / 1.18 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/1.144, allocations: 64.41 kB / 1.18 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007314/1.151, allocations: 3.351 MB / 1.184 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006648/1.152, allocations: 53.7 kB / 1.184 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002129/1.154, allocations: 1.756 MB / 1.185 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008551/1.155, allocations: 385.4 kB / 1.186 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/1.155, allocations: 43.28 kB / 1.186 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002731/1.155, allocations: 381.8 kB / 1.186 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/1.158, allocations: 0.8627 MB / 1.187 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003162/1.161, allocations: 1.562 MB / 1.189 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005057/1.166, allocations: 2.331 MB / 1.191 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.459e-05/1.166, allocations: 4 kB / 1.191 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.007791/1.174, allocations: 2.939 MB / 1.194 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005528/1.175, allocations: 0.6304 MB / 1.194 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/1.175, allocations: 16 kB / 1.194 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/1.176, allocations: 403.1 kB / 1.195 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/1.178, allocations: 435.3 kB / 1.195 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/1.181, allocations: 2.748 MB / 1.198 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003784/1.185, allocations: 207.8 kB / 1.198 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005451/1.185, allocations: 159.6 kB / 1.198 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.186, allocations: 7.938 kB / 1.198 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00723/1.193, allocations: 3.149 MB / 1.201 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/1.193, allocations: 19.94 kB / 1.201 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/1.196, allocations: 0.8515 MB / 1.202 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/1.197, allocations: 407.3 kB / 1.203 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01784/1.215, allocations: 12.37 MB / 1.215 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/1.219, allocations: 211.7 kB / 1.215 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006478/1.22, allocations: 128 kB / 1.215 GB, free: 14.01 MB / 0.7605 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 (207): * Single equations (assignments): 199 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002947/1.223, allocations: 0.8701 MB / 1.216 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/1.224, allocations: 359.3 kB / 1.216 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00799/1.232, allocations: 2.696 MB / 1.219 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.513e-05/1.232, allocations: 19.92 kB / 1.219 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.232, allocations: 4 kB / 1.219 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/1.232, allocations: 3.984 kB / 1.219 GB, free: 10.03 MB / 0.7605 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 postOpt removeSimpleEquations (simulation): time 0.01286/1.245, allocations: 4.904 MB / 1.224 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.245, allocations: 7.938 kB / 1.224 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.246, allocations: 243.8 kB / 1.224 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/1.247, allocations: 393.9 kB / 1.224 GB, free: 4.426 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/1.247, allocations: 47.89 kB / 1.224 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/1.25, allocations: 2.623 MB / 1.227 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.25, allocations: 0 / 1.227 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006037/1.256, allocations: 2.438 MB / 1.229 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/1.258, allocations: 0.5976 MB / 1.23 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009639/1.259, allocations: 27.94 kB / 1.23 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/1.261, allocations: 203.5 kB / 1.23 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.261, allocations: 93.12 kB / 1.23 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/1.262, allocations: 67.94 kB / 1.23 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.004167/1.266, allocations: 2.219 MB / 1.232 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.9e-07/1.266, allocations: 0 / 1.232 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008135/1.274, allocations: 1.801 MB / 1.234 GB, free: 10.14 MB / 0.7761 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 (117): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002046/1.276, allocations: 0.6915 MB / 1.235 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009493/1.285, allocations: 4.115 MB / 1.239 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.285, allocations: 0 / 1.239 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/1.288, allocations: 0.9084 MB / 1.24 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01159/1.299, allocations: 1.696 MB / 1.241 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/1.314, allocations: 7.01 MB / 1.248 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002761/1.317, allocations: 2.24 MB / 1.25 GB, free: 9.445 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005219/1.322, allocations: 0.8775 MB / 1.251 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.323, allocations: 271.3 kB / 1.251 GB, free: 8.305 MB / 0.7917 GB Notification: Performance of SimCode: time 6.11e-07/1.323, allocations: 4 kB / 1.251 GB, free: 8.301 MB / 0.7917 GB Notification: Performance of Templates: time 0.1279/1.451, allocations: 76.68 MB / 1.326 GB, free: 12.23 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)