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.0009459/0.0009463, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.006753/0.006753, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.595/1.595, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5212/0.5212, allocations: 55.01 MB / 325.8 MB, free: 0.5508 MB / 254.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.000574/0.0005741, allocations: 16 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3829, allocations: 60.72 MB / 458 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.101/0.484, allocations: 102.4 MB / 0.5472 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.06064/0.5446, allocations: 35.48 MB / 0.5818 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006195/0.5509, allocations: 139.1 kB / 0.582 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006285/0.5572, allocations: 1.686 MB / 0.5836 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01754/0.5747, allocations: 4.544 MB / 0.5881 GB, free: 6.906 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009908/0.5847, allocations: 3.185 MB / 0.5912 GB, free: 3.746 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01816/0.6028, allocations: 12.5 MB / 0.6034 GB, free: 7.219 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006601/0.6095, allocations: 2.825 MB / 0.6061 GB, free: 4.344 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007563/0.6171, allocations: 3.107 MB / 0.6092 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006052/0.6231, allocations: 2.964 MB / 0.6121 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.6246, allocations: 164 kB / 0.6122 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007352/0.6319, allocations: 2.148 MB / 0.6143 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002444/0.6344, allocations: 1.058 MB / 0.6153 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004944/0.6394, allocations: 2.06 MB / 0.6174 GB, free: 8.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.6545, allocations: 6.813 MB / 0.624 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6546, allocations: 0 / 0.624 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6546, allocations: 0 / 0.624 GB, free: 1.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002603/0.6549, allocations: 0 / 0.624 GB, free: 1.957 MB / 494.1 MB 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.01208/0.667, allocations: 4.255 MB / 0.6282 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.667, allocations: 12.02 kB / 0.6282 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007592/0.6746, allocations: 1.267 MB / 0.6294 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.6869, allocations: 4.199 MB / 0.6335 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.6872, allocations: 184.8 kB / 0.6337 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008458/0.6881, allocations: 236 kB / 0.6339 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008178/0.6963, allocations: 2.961 MB / 0.6368 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.726e-05/0.6963, allocations: 11.94 kB / 0.6368 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/0.6967, allocations: 91.94 kB / 0.6369 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.6968, allocations: 56 kB / 0.637 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00678/0.7036, allocations: 2.185 MB / 0.6391 GB, free: 2.211 MB / 0.4981 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.247/0.9506, allocations: 13.1 MB / 0.6519 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/0.9551, allocations: 1.806 MB / 0.6537 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.9567, allocations: 0.7191 MB / 0.6544 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005195/0.9619, allocations: 3.469 MB / 0.6577 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.9619, allocations: 50.25 kB / 0.6578 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001081/0.963, allocations: 201.7 kB / 0.658 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=105): time 2.906e-06/0.963, allocations: 1.812 kB / 0.658 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=105): time 0.01282/0.9759, allocations: 3.838 MB / 0.6617 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.976, allocations: 121.6 kB / 0.6619 GB, free: 140.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00435/0.9803, allocations: 3.429 MB / 0.6652 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004403/0.9808, allocations: 54.27 kB / 0.6653 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.982, allocations: 1.797 MB / 0.667 GB, free: 138 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004465/0.9825, allocations: 369 kB / 0.6674 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.9827, allocations: 186.6 kB / 0.6675 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.239e-05/0.9828, allocations: 305.1 kB / 0.6678 GB, free: 137.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.9852, allocations: 1.26 MB / 0.6691 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.9881, allocations: 1.998 MB / 0.671 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005427/0.9935, allocations: 3.173 MB / 0.6741 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-05/0.9936, allocations: 6.406 kB / 0.6741 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009524/1.003, allocations: 4.035 MB / 0.6781 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000527/1.004, allocations: 0.6947 MB / 0.6787 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/1.004, allocations: 21.16 kB / 0.6788 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/1.006, allocations: 0.8325 MB / 0.6796 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/1.008, allocations: 437.9 kB / 0.68 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/1.011, allocations: 2.957 MB / 0.6829 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/1.014, allocations: 242 kB / 0.6831 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004373/1.015, allocations: 153.8 kB / 0.6832 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.015, allocations: 3.781 kB / 0.6833 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008935/1.024, allocations: 3.178 MB / 0.6864 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-05/1.024, allocations: 21.69 kB / 0.6864 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/1.027, allocations: 0.8568 MB / 0.6872 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/1.029, allocations: 414.2 kB / 0.6876 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01724/1.046, allocations: 12.29 MB / 0.6996 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00319/1.049, allocations: 197.5 kB / 0.6998 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003945/1.05, allocations: 132.9 kB / 0.6999 GB, free: 119.1 MB / 0.4981 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 (211): * Single equations (assignments): 203 * 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.002793/1.053, allocations: 0.8662 MB / 0.7008 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.054, allocations: 358.2 kB / 0.7011 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008922/1.063, allocations: 2.958 MB / 0.704 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/1.063, allocations: 12.39 kB / 0.704 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.063, allocations: 3.938 kB / 0.704 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/1.063, allocations: 5.766 kB / 0.704 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.075, allocations: 5.018 MB / 0.7089 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.075, allocations: 0 / 0.7089 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.076, allocations: 231.8 kB / 0.7091 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/1.078, allocations: 0.5286 MB / 0.7097 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/1.078, allocations: 41.91 kB / 0.7097 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/1.08, allocations: 2.835 MB / 0.7125 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.08, allocations: 3.531 kB / 0.7125 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007185/1.087, allocations: 2.665 MB / 0.7151 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.088, allocations: 0.582 MB / 0.7156 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003683/1.089, allocations: 24.75 kB / 0.7157 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.091, allocations: 203.6 kB / 0.7159 GB, free: 110 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.091, allocations: 76.89 kB / 0.7159 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.091, allocations: 67.89 kB / 0.716 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003323/1.094, allocations: 2.33 MB / 0.7183 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/1.094, allocations: 0 / 0.7183 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007015/1.101, allocations: 1.753 MB / 0.72 GB, free: 105.8 MB / 0.4981 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 (101): * Single equations (assignments): 93 * 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.001636/1.103, allocations: 0.6121 MB / 0.7206 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008903/1.112, allocations: 4.511 MB / 0.725 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.112, allocations: 8.125 kB / 0.725 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00222/1.114, allocations: 0.8709 MB / 0.7258 GB, free: 99.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008085/1.122, allocations: 1.722 MB / 0.7275 GB, free: 98.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/1.139, allocations: 8.209 MB / 0.7355 GB, free: 89.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/1.14, allocations: 2.225 MB / 0.7377 GB, free: 87.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004152/1.145, allocations: 0.8508 MB / 0.7385 GB, free: 86.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/1.145, allocations: 275.3 kB / 0.7388 GB, free: 86.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/1.145, allocations: 0 / 0.7388 GB, free: 86.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.1099/1.255, allocations: 78.54 MB / 0.8155 GB, free: 8.348 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: