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.001132/0.001132, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001295/0.001294, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9474/0.9474, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 56.5 kB / 0.5047 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1615, allocations: 80.93 MB / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.401/0.5626, allocations: 104.2 MB / 0.6855 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.05213/0.6147, allocations: 32.96 MB / 0.7177 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008846/0.6236, allocations: 141 kB / 0.7178 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.007556/0.6312, allocations: 1.674 MB / 0.7194 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01664/0.6479, allocations: 4.645 MB / 0.724 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01275/0.6607, allocations: 3.529 MB / 0.7274 GB, free: 4.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02009/0.6808, allocations: 12.68 MB / 0.7398 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00717/0.688, allocations: 3.02 MB / 0.7427 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.6988, allocations: 3.469 MB / 0.7461 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006425/0.7053, allocations: 3.088 MB / 0.7491 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.7068, allocations: 212 kB / 0.7493 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008044/0.7149, allocations: 2.409 MB / 0.7517 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002327/0.7172, allocations: 1.144 MB / 0.7528 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00552/0.7228, allocations: 2.16 MB / 0.7549 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.7358, allocations: 7.22 MB / 0.762 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7359, allocations: 4 kB / 0.762 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7359, allocations: 0 / 0.762 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002619/0.7362, allocations: 0 / 0.762 GB, free: 6.922 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.01174/0.7479, allocations: 5.089 MB / 0.7669 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.748, allocations: 16.03 kB / 0.767 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006608/0.7546, allocations: 1.17 MB / 0.7681 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009919/0.7645, allocations: 4.304 MB / 0.7723 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.7648, allocations: 185.2 kB / 0.7725 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/0.7653, allocations: 239.9 kB / 0.7727 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005216/0.7705, allocations: 2.735 MB / 0.7754 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.7706, allocations: 4 kB / 0.7754 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.7708, allocations: 87.94 kB / 0.7755 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.7709, allocations: 52 kB / 0.7755 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004745/0.7756, allocations: 1.991 MB / 0.7775 GB, free: 6.77 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.01778/0.7934, allocations: 12.42 MB / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/0.797, allocations: 1.591 MB / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.7987, allocations: 0.7454 MB / 0.7919 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006702/0.8054, allocations: 4.085 MB / 0.7959 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.8055, allocations: 43.56 kB / 0.7959 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001167/0.8067, allocations: 202.4 kB / 0.7961 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=111): time 3.106e-06/0.8067, allocations: 0 / 0.7961 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111): time 0.009625/0.8163, allocations: 3.119 MB / 0.7991 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.8164, allocations: 60.41 kB / 0.7992 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005266/0.8217, allocations: 3.432 MB / 0.8025 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003976/0.8221, allocations: 57.7 kB / 0.8026 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.8236, allocations: 1.777 MB / 0.8043 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/0.824, allocations: 382.4 kB / 0.8047 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007258/0.8248, allocations: 479.1 kB / 0.8052 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8249, allocations: 309.1 kB / 0.8055 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/0.8273, allocations: 1.211 MB / 0.8066 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/0.8302, allocations: 1.905 MB / 0.8085 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005159/0.8354, allocations: 3.014 MB / 0.8114 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.8354, allocations: 4 kB / 0.8114 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008021/0.8434, allocations: 3.831 MB / 0.8152 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.461e-05/0.8435, allocations: 23.92 kB / 0.8152 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.8436, allocations: 16 kB / 0.8152 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.8456, allocations: 0.7258 MB / 0.8159 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.8476, allocations: 435.3 kB / 0.8163 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.8501, allocations: 2.748 MB / 0.819 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/0.8532, allocations: 207.7 kB / 0.8192 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000459/0.8537, allocations: 163.9 kB / 0.8194 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003523/0.8572, allocations: 1.691 MB / 0.821 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002688/0.8599, allocations: 1.711 MB / 0.8227 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004553/0.8645, allocations: 2.637 MB / 0.8253 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.355e-05/0.8645, allocations: 8 kB / 0.8253 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.007881/0.8724, allocations: 3.516 MB / 0.8287 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.8725, allocations: 15.94 kB / 0.8287 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.8725, allocations: 20 kB / 0.8288 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/0.8754, allocations: 0.8629 MB / 0.8296 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.8771, allocations: 403.3 kB / 0.83 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.8953, allocations: 12.47 MB / 0.8422 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/0.8986, allocations: 208.2 kB / 0.8424 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005175/0.8991, allocations: 136 kB / 0.8425 GB, free: 0.8633 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.0008937/0.9, allocations: 307.5 kB / 0.8428 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/0.9012, allocations: 359.3 kB / 0.8431 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007744/0.909, allocations: 2.703 MB / 0.8458 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/0.9091, allocations: 16 kB / 0.8458 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.9091, allocations: 4 kB / 0.8458 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/0.9091, allocations: 7.969 kB / 0.8458 GB, free: 13.46 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.01243/0.9216, allocations: 4.908 MB / 0.8506 GB, free: 8.461 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.9216, allocations: 4 kB / 0.8506 GB, free: 8.457 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.9229, allocations: 247.7 kB / 0.8508 GB, free: 8.215 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009947/0.9239, allocations: 402.9 kB / 0.8512 GB, free: 7.809 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.924, allocations: 43.95 kB / 0.8512 GB, free: 7.766 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.9261, allocations: 2.619 MB / 0.8538 GB, free: 5.043 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9261, allocations: 0 / 0.8538 GB, free: 5.043 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006066/0.9322, allocations: 2.441 MB / 0.8562 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/0.9342, allocations: 0.6014 MB / 0.8568 GB, free: 1.926 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008845/0.9351, allocations: 27.94 kB / 0.8568 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/0.9378, allocations: 191.7 kB / 0.857 GB, free: 1.711 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.938, allocations: 89.11 kB / 0.8571 GB, free: 1.625 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/0.9381, allocations: 67.95 kB / 0.8571 GB, free: 1.559 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.3156/1.254, allocations: 2.286 MB / 0.8594 GB, free: 208.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.91e-07/1.254, allocations: 0 / 0.8594 GB, free: 208.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006663/1.26, allocations: 1.807 MB / 0.8611 GB, free: 208.6 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.001689/1.262, allocations: 0.7088 MB / 0.8618 GB, free: 208.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008817/1.271, allocations: 4.554 MB / 0.8663 GB, free: 208 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.271, allocations: 0 / 0.8663 GB, free: 208 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/1.273, allocations: 0.9006 MB / 0.8672 GB, free: 207.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007683/1.281, allocations: 1.707 MB / 0.8688 GB, free: 207.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.292, allocations: 7.348 MB / 0.876 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/1.294, allocations: 2.255 MB / 0.8782 GB, free: 202.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004485/1.298, allocations: 0.8825 MB / 0.8791 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008769/1.299, allocations: 277.6 kB / 0.8793 GB, free: 202.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.653e-06/1.299, allocations: 0 / 0.8793 GB, free: 202.3 MB / 0.67 GB Notification: Performance of Templates: time 0.1405/1.44, allocations: 80.04 MB / 0.9575 GB, free: 158.4 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)