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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 105.3 kB / 15.98 MB, free: 6.355 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.001319/0.001319, allocations: 195.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001373, allocations: 68.11 kB / 0.6716 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.257, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1081/0.3652, allocations: 104.5 MB / 0.8855 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.06109/0.4263, allocations: 36.35 MB / 0.921 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008408/0.4348, allocations: 143 kB / 0.9212 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.5094/0.9442, allocations: 1.737 MB / 0.9229 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.9582, allocations: 4.641 MB / 0.9274 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.9684, allocations: 3.556 MB / 0.9309 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0161/0.9845, allocations: 9.58 MB / 0.9402 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00784/0.9924, allocations: 3.515 MB / 0.9437 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01251/1.005, allocations: 4.023 MB / 0.9476 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007088/1.012, allocations: 3.188 MB / 0.9507 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001716/1.014, allocations: 413 kB / 0.9511 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008534/1.022, allocations: 2.654 MB / 0.9537 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002528/1.025, allocations: 1.337 MB / 0.955 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006232/1.031, allocations: 2.352 MB / 0.9573 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009929/1.041, allocations: 5.885 MB / 0.963 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.041, allocations: 0 / 0.963 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/1.041, allocations: 0 / 0.963 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002619/1.041, allocations: 0.9688 kB / 0.963 GB, free: 5.102 MB / 0.7325 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.01602/1.057, allocations: 5.057 MB / 0.968 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.057, allocations: 9.125 kB / 0.968 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0066/1.064, allocations: 1.168 MB / 0.9691 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/1.074, allocations: 4.269 MB / 0.9733 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/1.075, allocations: 185.2 kB / 0.9735 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007779/1.075, allocations: 233.5 kB / 0.9737 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005384/1.081, allocations: 2.736 MB / 0.9764 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/1.081, allocations: 0 / 0.9764 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/1.081, allocations: 86.19 kB / 0.9765 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/1.081, allocations: 51.75 kB / 0.9765 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/1.086, allocations: 1.991 MB / 0.9784 GB, free: 17.29 MB / 0.7481 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.02018/1.106, allocations: 12.41 MB / 0.9906 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00377/1.11, allocations: 1.604 MB / 0.9921 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/1.111, allocations: 0.7457 MB / 0.9929 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007638/1.119, allocations: 4.065 MB / 0.9968 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/1.119, allocations: 42.84 kB / 0.9969 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001651/1.121, allocations: 182.5 kB / 0.9971 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=111): time 4.779e-06/1.121, allocations: 0 / 0.9971 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of matching and sorting (n=111): time 0.009592/1.13, allocations: 3.125 MB / 1 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/1.13, allocations: 67.62 kB / 1 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005533/1.136, allocations: 3.386 MB / 1.003 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000569/1.136, allocations: 61.25 kB / 1.004 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/1.138, allocations: 1.759 MB / 1.005 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005419/1.139, allocations: 391.6 kB / 1.006 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000789/1.139, allocations: 471.8 kB / 1.006 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.139, allocations: 303.3 kB / 1.006 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/1.142, allocations: 1.219 MB / 1.008 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002915/1.145, allocations: 1.913 MB / 1.009 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/1.15, allocations: 3.028 MB / 1.012 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/1.15, allocations: 5.75 kB / 1.012 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.007892/1.158, allocations: 3.847 MB / 1.016 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/1.158, allocations: 16 kB / 1.016 GB, free: 8.785 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/1.158, allocations: 16 kB / 1.016 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/1.16, allocations: 0.7318 MB / 1.017 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.162, allocations: 433.5 kB / 1.017 GB, free: 7.633 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/1.164, allocations: 2.755 MB / 1.02 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/1.168, allocations: 211.6 kB / 1.02 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004454/1.168, allocations: 159.9 kB / 1.02 GB, free: 4.426 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004047/1.172, allocations: 1.695 MB / 1.022 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002367/1.175, allocations: 1.717 MB / 1.024 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004085/1.179, allocations: 2.647 MB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.898e-06/1.179, allocations: 4 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.007748/1.187, allocations: 3.538 MB / 1.03 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.187, allocations: 12 kB / 1.03 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/1.187, allocations: 16 kB / 1.03 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002789/1.19, allocations: 0.8649 MB / 1.031 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/1.191, allocations: 409.2 kB / 1.031 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/1.21, allocations: 13.82 MB / 1.044 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/1.214, allocations: 202.7 kB / 1.045 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004839/1.214, allocations: 140 kB / 1.045 GB, free: 10.46 MB / 0.795 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.0007382/1.215, allocations: 297.7 kB / 1.045 GB, free: 10.19 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.216, allocations: 363.2 kB / 1.045 GB, free: 9.828 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006763/1.223, allocations: 2.739 MB / 1.048 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.223, allocations: 16 kB / 1.048 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.223, allocations: 0 / 1.048 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/1.223, allocations: 7.969 kB / 1.048 GB, free: 7.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/1.234, allocations: 4.919 MB / 1.053 GB, free: 2.117 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.234, allocations: 4 kB / 1.053 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.235, allocations: 251.1 kB / 1.053 GB, free: 1.879 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009746/1.236, allocations: 399.2 kB / 1.054 GB, free: 1.48 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/1.237, allocations: 43.95 kB / 1.054 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/1.238, allocations: 2.627 MB / 1.056 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.238, allocations: 4 kB / 1.056 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005962/1.244, allocations: 2.504 MB / 1.059 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.246, allocations: 0.5898 MB / 1.059 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005583/1.247, allocations: 24 kB / 1.059 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.249, allocations: 191.5 kB / 1.059 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.249, allocations: 91.94 kB / 1.059 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.249, allocations: 75.94 kB / 1.06 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003826/1.253, allocations: 2.254 MB / 1.062 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.41e-07/1.253, allocations: 4 kB / 1.062 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007565/1.261, allocations: 1.805 MB / 1.064 GB, free: 7.121 MB / 0.8106 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.002199/1.263, allocations: 0.7125 MB / 1.064 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.274, allocations: 4.687 MB / 1.069 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.274, allocations: 4 kB / 1.069 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002385/1.277, allocations: 0.9299 MB / 1.07 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008323/1.285, allocations: 1.786 MB / 1.071 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.298, allocations: 7.567 MB / 1.079 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002072/1.3, allocations: 2.234 MB / 1.081 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/1.302, allocations: 297.1 kB / 1.081 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of SimCode: time 9.32e-07/1.302, allocations: 4 kB / 1.081 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of Templates: time 0.1481/1.45, allocations: 130.6 MB / 1.209 GB, free: 3.215 MB / 0.9512 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)