Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001374/0.001374, allocations: 182.4 kB / 376.9 MB, free: 1.793 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.504/1.504, allocations: 205 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 96.55 kB / 0.7479 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009762/0.0009764, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2318, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.4951/0.727, allocations: 104.7 MB / 1.084 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.04638/0.7735, allocations: 36.98 MB / 1.121 GB, free: 16.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008145/0.7816, allocations: 152.8 kB / 1.121 GB, free: 16.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.006319/0.788, allocations: 1.674 MB / 1.122 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.8016, allocations: 4.622 MB / 1.127 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009053/0.8107, allocations: 3.513 MB / 1.13 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01276/0.8234, allocations: 12.65 MB / 1.143 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005302/0.8288, allocations: 2.991 MB / 1.146 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007683/0.8365, allocations: 3.481 MB / 1.149 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006002/0.8425, allocations: 3.075 MB / 1.152 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001833/0.8444, allocations: 212.6 kB / 1.152 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00934/0.8537, allocations: 2.407 MB / 1.155 GB, free: 1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002748/0.8565, allocations: 1.142 MB / 1.156 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.005722/0.8623, allocations: 2.141 MB / 1.158 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.8759, allocations: 7.187 MB / 1.165 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.876, allocations: 3.938 kB / 1.165 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.367e-06/0.876, allocations: 3.375 kB / 1.165 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001923/0.8762, allocations: 0 / 1.165 GB, free: 12.6 MB / 0.7605 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.01595/0.8922, allocations: 5.052 MB / 1.17 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.8923, allocations: 8.969 kB / 1.17 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.9025, allocations: 1.176 MB / 1.171 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/0.9196, allocations: 4.27 MB / 1.175 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003929/0.92, allocations: 187 kB / 1.175 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.9211, allocations: 230.3 kB / 1.175 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.9311, allocations: 2.733 MB / 1.178 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.517e-05/0.9312, allocations: 5.781 kB / 1.178 GB, free: 5.781 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003504/0.9316, allocations: 87.22 kB / 1.178 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-05/0.9316, allocations: 52.06 kB / 1.178 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008302/0.94, allocations: 1.995 MB / 1.18 GB, free: 5.043 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 preOpt removeSimpleEquations (simulation): time 0.03346/0.9735, allocations: 12.41 MB / 1.192 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006629/0.9801, allocations: 1.597 MB / 1.194 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/0.9831, allocations: 0.7433 MB / 1.195 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/0.9962, allocations: 4.073 MB / 1.199 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.251e-05/0.9963, allocations: 44.34 kB / 1.199 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00261/0.999, allocations: 204 kB / 1.199 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=111): time 9.368e-06/0.999, allocations: 0 / 1.199 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111): time 0.01604/1.015, allocations: 3.114 MB / 1.202 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/1.015, allocations: 66.69 kB / 1.202 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.027, allocations: 3.384 MB / 1.205 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0008338/1.028, allocations: 59.11 kB / 1.205 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003063/1.031, allocations: 1.75 MB / 1.207 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.032, allocations: 387.2 kB / 1.207 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/1.033, allocations: 468.5 kB / 1.208 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.033, allocations: 305.1 kB / 1.208 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004561/1.038, allocations: 1.216 MB / 1.209 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005675/1.044, allocations: 1.907 MB / 1.211 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009433/1.053, allocations: 3.011 MB / 1.214 GB, free: 32 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-05/1.053, allocations: 6.469 kB / 1.214 GB, free: 32 kB / 0.7761 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01272/1.066, allocations: 3.832 MB / 1.218 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/1.066, allocations: 13.66 kB / 1.218 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/1.066, allocations: 20.72 kB / 1.218 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/1.069, allocations: 0.7275 MB / 1.219 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/1.072, allocations: 431.6 kB / 1.219 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/1.075, allocations: 2.753 MB / 1.222 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005294/1.081, allocations: 204.6 kB / 1.222 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007134/1.082, allocations: 152.9 kB / 1.222 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00577/1.087, allocations: 1.693 MB / 1.224 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004526/1.092, allocations: 1.721 MB / 1.225 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007262/1.099, allocations: 2.627 MB / 1.228 GB, free: 5.598 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.081e-05/1.099, allocations: 8 kB / 1.228 GB, free: 5.59 MB / 0.7917 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.01259/1.112, allocations: 3.514 MB / 1.231 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/1.112, allocations: 15.94 kB / 1.231 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/1.112, allocations: 20 kB / 1.231 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004197/1.116, allocations: 0.8527 MB / 1.232 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/1.119, allocations: 411.3 kB / 1.233 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02717/1.146, allocations: 12.49 MB / 1.245 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006098/1.152, allocations: 207.6 kB / 1.245 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008231/1.153, allocations: 132 kB / 1.245 GB, free: 3.309 MB / 0.8073 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 (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.00114/1.154, allocations: 309.4 kB / 1.245 GB, free: 3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001691/1.156, allocations: 355.4 kB / 1.246 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.167, allocations: 2.7 MB / 1.248 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/1.167, allocations: 16 kB / 1.248 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.167, allocations: 4 kB / 1.248 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/1.167, allocations: 7.969 kB / 1.248 GB, free: 15.9 MB / 0.823 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.01755/1.184, allocations: 4.899 MB / 1.253 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.184, allocations: 0 / 1.253 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/1.186, allocations: 251.7 kB / 1.253 GB, free: 10.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/1.188, allocations: 396.8 kB / 1.254 GB, free: 10.27 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/1.188, allocations: 46.02 kB / 1.254 GB, free: 10.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002738/1.191, allocations: 2.623 MB / 1.256 GB, free: 7.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.191, allocations: 4 kB / 1.256 GB, free: 7.496 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.206, allocations: 4.604 MB / 1.261 GB, free: 2.805 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/1.209, allocations: 0.5936 MB / 1.262 GB, free: 2.188 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0017/1.21, allocations: 20 kB / 1.262 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004446/1.215, allocations: 195.6 kB / 1.262 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/1.215, allocations: 89.12 kB / 1.262 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/1.216, allocations: 71.94 kB / 1.262 GB, free: 1.816 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006526/1.222, allocations: 2.258 MB / 1.264 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.11e-07/1.222, allocations: 4 kB / 1.264 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01291/1.235, allocations: 1.832 MB / 1.266 GB, free: 13.71 MB / 0.8386 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 (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.003013/1.238, allocations: 0.734 MB / 1.267 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0168/1.255, allocations: 4.537 MB / 1.271 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.255, allocations: 0 / 1.271 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003835/1.259, allocations: 0.9017 MB / 1.272 GB, free: 7.488 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01399/1.273, allocations: 1.71 MB / 1.274 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/1.291, allocations: 7.941 MB / 1.281 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/1.295, allocations: 2.289 MB / 1.284 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.006089/1.301, allocations: 0.8748 MB / 1.284 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009179/1.302, allocations: 279.3 kB / 1.285 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of SimCode: time 3.306e-06/1.302, allocations: 4 kB / 1.285 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.1414/1.443, allocations: 81.94 MB / 1.365 GB, free: 8.906 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)