Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007197/0.007197, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001309/0.001309, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.594/1.594, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4523/0.4523, allocations: 54.95 MB / 324.9 MB, free: 15.99 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 68.95 kB / 456.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1219, allocations: 59.59 MB / 0.5037 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1006/0.2225, allocations: 104.9 MB / 0.6061 GB, free: 1.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4867/0.7093, allocations: 35.39 MB / 0.6407 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009793/0.7191, allocations: 166.3 kB / 0.6408 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007843/0.727, allocations: 2.027 MB / 0.6428 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01754/0.7446, allocations: 4.902 MB / 0.6476 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.7554, allocations: 3.523 MB / 0.6511 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01877/0.7742, allocations: 9.265 MB / 0.6601 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008652/0.7829, allocations: 3.385 MB / 0.6634 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01209/0.795, allocations: 3.74 MB / 0.6671 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007357/0.8024, allocations: 3.033 MB / 0.67 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002505/0.8049, allocations: 411.5 kB / 0.6704 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009192/0.8141, allocations: 2.429 MB / 0.6728 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002885/0.817, allocations: 1.295 MB / 0.6741 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.007857/0.8249, allocations: 2.301 MB / 0.6763 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01897/0.8439, allocations: 7.165 MB / 0.6833 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.844, allocations: 0 / 0.6833 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.505e-06/0.844, allocations: 0 / 0.6833 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003935/0.8444, allocations: 4 kB / 0.6833 GB, free: 14.35 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.01962/0.864, allocations: 4.954 MB / 0.6881 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.8641, allocations: 10.66 kB / 0.6881 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00856/0.8727, allocations: 1.169 MB / 0.6893 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.8884, allocations: 4.174 MB / 0.6934 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003573/0.8888, allocations: 181.5 kB / 0.6935 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/0.8901, allocations: 232.9 kB / 0.6938 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.9013, allocations: 2.92 MB / 0.6966 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/0.9015, allocations: 6.094 kB / 0.6966 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.9025, allocations: 91.17 kB / 0.6967 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.9026, allocations: 55.28 kB / 0.6968 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007728/0.9104, allocations: 2.102 MB / 0.6988 GB, free: 7.691 MB / 0.5137 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.02884/0.9392, allocations: 13.32 MB / 0.7118 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005272/0.9446, allocations: 1.679 MB / 0.7135 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.9463, allocations: 0.6783 MB / 0.7141 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007534/0.9538, allocations: 3.388 MB / 0.7174 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.9539, allocations: 52.98 kB / 0.7175 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=101): time 2.795e-06/0.9539, allocations: 0 / 0.7175 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101): time 0.01408/0.968, allocations: 3.519 MB / 0.7209 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.9681, allocations: 123.8 kB / 0.721 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006149/0.9743, allocations: 3.477 MB / 0.7244 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006775/0.975, allocations: 61.69 kB / 0.7245 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001691/0.9767, allocations: 1.794 MB / 0.7262 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006349/0.9773, allocations: 349.4 kB / 0.7266 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007629/0.9781, allocations: 466.8 kB / 0.727 GB, free: 11.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9782, allocations: 305.1 kB / 0.7273 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002629/0.9809, allocations: 1.225 MB / 0.7285 GB, free: 9.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/0.984, allocations: 1.946 MB / 0.7304 GB, free: 7.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005555/0.9896, allocations: 3.071 MB / 0.7334 GB, free: 4.199 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.9896, allocations: 4 kB / 0.7334 GB, free: 4.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.009098/0.9987, allocations: 3.925 MB / 0.7372 GB, free: 376 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.9988, allocations: 12 kB / 0.7373 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/0.9989, allocations: 28 kB / 0.7373 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/1.001, allocations: 0.7997 MB / 0.7381 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/1.003, allocations: 429 kB / 0.7385 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/1.007, allocations: 2.904 MB / 0.7413 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/1.011, allocations: 297.3 kB / 0.7416 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007618/1.012, allocations: 151.9 kB / 0.7417 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005182/1.017, allocations: 1.648 MB / 0.7433 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003748/1.021, allocations: 1.704 MB / 0.745 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005594/1.026, allocations: 2.624 MB / 0.7476 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.668e-05/1.026, allocations: 4 kB / 0.7476 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.00977/1.036, allocations: 3.47 MB / 0.751 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/1.036, allocations: 15.94 kB / 0.751 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.753e-05/1.036, allocations: 24 kB / 0.751 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/1.039, allocations: 0.8698 MB / 0.7519 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/1.041, allocations: 402.4 kB / 0.7522 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02345/1.065, allocations: 13.78 MB / 0.7657 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005003/1.07, allocations: 191 kB / 0.7659 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009266/1.071, allocations: 136 kB / 0.766 GB, free: 1.887 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * 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.001978/1.073, allocations: 305.3 kB / 0.7663 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002032/1.075, allocations: 351.4 kB / 0.7666 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/1.088, allocations: 2.763 MB / 0.7693 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.017e-05/1.088, allocations: 12 kB / 0.7693 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.089, allocations: 0 / 0.7693 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.099e-05/1.089, allocations: 11.97 kB / 0.7693 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.099, allocations: 2.324 MB / 0.7716 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-05/1.099, allocations: 0 / 0.7716 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/1.101, allocations: 223.8 kB / 0.7718 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/1.103, allocations: 0.4942 MB / 0.7723 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003772/1.104, allocations: 47.89 kB / 0.7724 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003741/1.108, allocations: 2.778 MB / 0.7751 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.108, allocations: 0 / 0.7751 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.119, allocations: 2.516 MB / 0.7775 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003286/1.122, allocations: 0.5664 MB / 0.7781 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/1.124, allocations: 23.88 kB / 0.7781 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004256/1.129, allocations: 111.9 kB / 0.7782 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005027/1.129, allocations: 68.89 kB / 0.7783 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004169/1.13, allocations: 67.95 kB / 0.7783 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009048/1.139, allocations: 2.37 MB / 0.7807 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.01e-07/1.139, allocations: 3.375 kB / 0.7807 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01384/1.152, allocations: 1.723 MB / 0.7823 GB, free: 1.027 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (97): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003367/1.156, allocations: 0.6624 MB / 0.783 GB, free: 428 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01425/1.17, allocations: 4.53 MB / 0.7874 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.17, allocations: 0 / 0.7874 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002708/1.173, allocations: 0.8431 MB / 0.7882 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009542/1.183, allocations: 1.775 MB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/1.202, allocations: 6.554 MB / 0.7964 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/1.204, allocations: 2.221 MB / 0.7985 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004391/1.209, allocations: 0.8413 MB / 0.7994 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008899/1.21, allocations: 282.1 kB / 0.7996 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.182e-06/1.21, allocations: 0 / 0.7996 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.1448/1.355, allocations: 80.36 MB / 0.8781 GB, free: 15.83 MB / 0.7012 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)