Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001397/0.001397, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 196 kB / 16.79 MB, free: 6.809 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.663/1.663, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9303/0.9303, allocations: 135.1 MB / 425.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.16 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1775, allocations: 80.92 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.4026/0.5801, allocations: 104.2 MB / 0.6861 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.05537/0.6356, allocations: 32.95 MB / 0.7183 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009446/0.6451, allocations: 141.3 kB / 0.7184 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.007859/0.653, allocations: 1.679 MB / 0.7201 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01818/0.6713, allocations: 4.648 MB / 0.7246 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.6827, allocations: 3.51 MB / 0.728 GB, free: 4.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0188/0.7016, allocations: 12.68 MB / 0.7404 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006877/0.7085, allocations: 3.022 MB / 0.7434 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.7188, allocations: 3.469 MB / 0.7468 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006383/0.7252, allocations: 3.088 MB / 0.7498 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001602/0.7269, allocations: 212 kB / 0.75 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007721/0.7346, allocations: 2.405 MB / 0.7523 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002431/0.7371, allocations: 1.156 MB / 0.7535 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005418/0.7425, allocations: 2.156 MB / 0.7556 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009557/0.7521, allocations: 5.807 MB / 0.7612 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.7522, allocations: 0 / 0.7612 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7522, allocations: 0 / 0.7612 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002639/0.7524, allocations: 0 / 0.7612 GB, free: 8.301 MB / 0.5762 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.01314/0.7656, allocations: 5.093 MB / 0.7662 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.7657, allocations: 8.031 kB / 0.7662 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006974/0.7726, allocations: 1.178 MB / 0.7674 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.7834, allocations: 4.3 MB / 0.7716 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.7837, allocations: 193.1 kB / 0.7717 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000773/0.7845, allocations: 232 kB / 0.772 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005523/0.79, allocations: 2.731 MB / 0.7746 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.7901, allocations: 4 kB / 0.7746 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.7903, allocations: 83.94 kB / 0.7747 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.7904, allocations: 59.98 kB / 0.7748 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004955/0.7954, allocations: 1.995 MB / 0.7767 GB, free: 8.145 MB / 0.5919 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.01964/0.815, allocations: 12.41 MB / 0.7888 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/0.8188, allocations: 1.603 MB / 0.7904 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.8205, allocations: 0.7532 MB / 0.7911 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007719/0.8283, allocations: 4.077 MB / 0.7951 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.8284, allocations: 51.48 kB / 0.7952 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001709/0.8301, allocations: 190.4 kB / 0.7954 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=111): time 5.38e-06/0.8301, allocations: 0 / 0.7954 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111): time 0.009983/0.8401, allocations: 3.123 MB / 0.7984 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.8402, allocations: 64.41 kB / 0.7985 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005418/0.8456, allocations: 3.424 MB / 0.8018 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005067/0.8461, allocations: 57.7 kB / 0.8019 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.8477, allocations: 1.781 MB / 0.8036 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006223/0.8483, allocations: 386.4 kB / 0.804 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007576/0.8491, allocations: 471.2 kB / 0.8044 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8492, allocations: 305.1 kB / 0.8047 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.8516, allocations: 1.215 MB / 0.8059 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/0.8546, allocations: 1.905 MB / 0.8078 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005777/0.8604, allocations: 3.006 MB / 0.8107 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-05/0.8605, allocations: 8 kB / 0.8107 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008842/0.8693, allocations: 3.834 MB / 0.8144 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.8694, allocations: 12 kB / 0.8145 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/0.8695, allocations: 20 kB / 0.8145 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.8713, allocations: 0.7223 MB / 0.8152 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.8733, allocations: 431.3 kB / 0.8156 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.8756, allocations: 2.756 MB / 0.8183 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.8788, allocations: 207.8 kB / 0.8185 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003889/0.8792, allocations: 155.9 kB / 0.8186 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003356/0.8826, allocations: 1.695 MB / 0.8203 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00237/0.885, allocations: 1.718 MB / 0.822 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004051/0.889, allocations: 2.625 MB / 0.8245 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-05/0.889, allocations: 15.92 kB / 0.8245 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.007484/0.8965, allocations: 3.523 MB / 0.828 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.8966, allocations: 16.91 kB / 0.828 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.8966, allocations: 16 kB / 0.828 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/0.8994, allocations: 0.8624 MB / 0.8289 GB, free: 104 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.9011, allocations: 407.3 kB / 0.8292 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/0.9181, allocations: 12.48 MB / 0.8414 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/0.9213, allocations: 208.1 kB / 0.8416 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004623/0.9218, allocations: 139.9 kB / 0.8418 GB, free: 2.223 MB / 0.6544 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.0006537/0.9225, allocations: 299.6 kB / 0.842 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009108/0.9234, allocations: 359.3 kB / 0.8424 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006414/0.9298, allocations: 2.699 MB / 0.845 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/0.9299, allocations: 15.98 kB / 0.845 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9299, allocations: 0 / 0.845 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.9299, allocations: 7.969 kB / 0.845 GB, free: 14.84 MB / 0.67 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.0105/0.9404, allocations: 4.912 MB / 0.8498 GB, free: 9.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.9405, allocations: 8 kB / 0.8499 GB, free: 9.832 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.9418, allocations: 243.6 kB / 0.8501 GB, free: 9.594 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009749/0.9428, allocations: 391 kB / 0.8505 GB, free: 9.199 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.9429, allocations: 43.97 kB / 0.8505 GB, free: 9.156 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.9448, allocations: 2.635 MB / 0.8531 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.9448, allocations: 256 / 0.8531 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005715/0.9505, allocations: 2.441 MB / 0.8555 GB, free: 3.926 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/0.9523, allocations: 0.5936 MB / 0.856 GB, free: 3.309 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006626/0.953, allocations: 27.94 kB / 0.8561 GB, free: 3.281 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/0.9551, allocations: 191.6 kB / 0.8562 GB, free: 3.094 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.9553, allocations: 85.19 kB / 0.8563 GB, free: 3.012 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/0.9555, allocations: 71.94 kB / 0.8564 GB, free: 2.941 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003677/0.9592, allocations: 2.286 MB / 0.8586 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9592, allocations: 0 / 0.8586 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.3441/1.303, allocations: 1.808 MB / 0.8604 GB, free: 209.3 MB / 0.67 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.002093/1.305, allocations: 0.7127 MB / 0.8611 GB, free: 209.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009113/1.315, allocations: 4.541 MB / 0.8655 GB, free: 208.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.315, allocations: 2.781 kB / 0.8655 GB, free: 208.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/1.317, allocations: 0.9005 MB / 0.8664 GB, free: 208.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007583/1.324, allocations: 1.707 MB / 0.8681 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.336, allocations: 7.508 MB / 0.8754 GB, free: 204.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/1.337, allocations: 2.248 MB / 0.8776 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.339, allocations: 291.3 kB / 0.8779 GB, free: 203.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.984e-06/1.339, allocations: 0 / 0.8779 GB, free: 203.3 MB / 0.67 GB Notification: Performance of Templates: time 0.1475/1.486, allocations: 131.1 MB / 1.006 GB, free: 109.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)