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.001206/0.001206, allocations: 108 kB / 15.61 MB, free: 152 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.001495/0.001495, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.607/1.607, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4058/0.4058, allocations: 54.94 MB / 324.7 MB, free: 15.97 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.002271/0.002272, allocations: 76.36 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1494, allocations: 59.58 MB / 454.9 MB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.3493/0.4987, allocations: 104.9 MB / 0.5467 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.05295/0.5517, allocations: 35.4 MB / 0.5812 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00712/0.5588, allocations: 159.1 kB / 0.5814 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006133/0.565, allocations: 2.034 MB / 0.5834 GB, free: 9.145 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01484/0.5799, allocations: 4.901 MB / 0.5882 GB, free: 4.227 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009998/0.5899, allocations: 3.525 MB / 0.5916 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01594/0.6059, allocations: 9.248 MB / 0.6006 GB, free: 7.453 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005931/0.6118, allocations: 3.385 MB / 0.6039 GB, free: 4.012 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.622, allocations: 3.741 MB / 0.6076 GB, free: 288 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006002/0.628, allocations: 3.034 MB / 0.6106 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001931/0.6299, allocations: 400 kB / 0.6109 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006512/0.6365, allocations: 2.43 MB / 0.6133 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002556/0.6391, allocations: 1.301 MB / 0.6146 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005392/0.6445, allocations: 2.305 MB / 0.6168 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.658, allocations: 7.08 MB / 0.6237 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6581, allocations: 0 / 0.6237 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6581, allocations: 0 / 0.6237 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002349/0.6583, allocations: 0 / 0.6237 GB, free: 15.69 MB / 0.4981 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.014/0.6724, allocations: 4.94 MB / 0.6286 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.6724, allocations: 16.03 kB / 0.6286 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006912/0.6793, allocations: 1.173 MB / 0.6297 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/0.6896, allocations: 4.065 MB / 0.6337 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.6899, allocations: 185.8 kB / 0.6339 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007274/0.6906, allocations: 232 kB / 0.6341 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00694/0.6976, allocations: 2.918 MB / 0.637 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.6976, allocations: 3.938 kB / 0.637 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.6979, allocations: 91.94 kB / 0.637 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/0.6979, allocations: 56 kB / 0.6371 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2335/0.9314, allocations: 2.098 MB / 0.6391 GB, free: 153 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.01717/0.9486, allocations: 13.41 MB / 0.6522 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.9528, allocations: 1.681 MB / 0.6539 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.9543, allocations: 0.6754 MB / 0.6545 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00511/0.9594, allocations: 3.378 MB / 0.6578 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.9595, allocations: 53.12 kB / 0.6579 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=101): time 3.016e-06/0.9595, allocations: 0 / 0.6579 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101): time 0.01283/0.9723, allocations: 3.534 MB / 0.6613 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.9725, allocations: 112.2 kB / 0.6615 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005561/0.978, allocations: 3.484 MB / 0.6649 GB, free: 140 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005621/0.9786, allocations: 59.34 kB / 0.6649 GB, free: 140 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.98, allocations: 1.795 MB / 0.6667 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.9805, allocations: 353.5 kB / 0.667 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007058/0.9812, allocations: 461.9 kB / 0.6674 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.9813, allocations: 305.2 kB / 0.6677 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.9836, allocations: 1.219 MB / 0.6689 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.9866, allocations: 1.944 MB / 0.6708 GB, free: 136.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005596/0.9923, allocations: 3.067 MB / 0.6738 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.994e-05/0.9923, allocations: 5.344 kB / 0.6738 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.00963/1.002, allocations: 3.936 MB / 0.6777 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/1.002, allocations: 17.16 kB / 0.6777 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.104e-05/1.002, allocations: 21.08 kB / 0.6777 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/1.004, allocations: 0.795 MB / 0.6785 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/1.006, allocations: 433.3 kB / 0.6789 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/1.009, allocations: 2.902 MB / 0.6817 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/1.013, allocations: 301 kB / 0.682 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005124/1.014, allocations: 154.6 kB / 0.6822 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004237/1.018, allocations: 1.646 MB / 0.6838 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002729/1.021, allocations: 1.707 MB / 0.6854 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004337/1.025, allocations: 2.621 MB / 0.688 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.406e-05/1.025, allocations: 5.906 kB / 0.688 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008091/1.033, allocations: 3.467 MB / 0.6914 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.033, allocations: 14.22 kB / 0.6914 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/1.033, allocations: 20.28 kB / 0.6914 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/1.036, allocations: 0.8706 MB / 0.6923 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.038, allocations: 400.8 kB / 0.6926 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/1.056, allocations: 13.79 MB / 0.7061 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/1.059, allocations: 199.3 kB / 0.7063 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/1.059, allocations: 138.5 kB / 0.7064 GB, free: 116 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 (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.0007393/1.06, allocations: 295.7 kB / 0.7067 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007363/1.061, allocations: 354 kB / 0.7071 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007597/1.068, allocations: 2.762 MB / 0.7098 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.068, allocations: 15.5 kB / 0.7098 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.068, allocations: 0 / 0.7098 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/1.068, allocations: 7.562 kB / 0.7098 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/1.072, allocations: 2.332 MB / 0.7121 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.072, allocations: 0.9375 kB / 0.7121 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/1.073, allocations: 227 kB / 0.7123 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/1.074, allocations: 0.4897 MB / 0.7127 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-05/1.074, allocations: 40.52 kB / 0.7128 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/1.076, allocations: 2.781 MB / 0.7155 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.076, allocations: 4.062 kB / 0.7155 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00654/1.083, allocations: 2.528 MB / 0.718 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.084, allocations: 0.5589 MB / 0.7185 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004247/1.085, allocations: 27.94 kB / 0.7185 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.086, allocations: 111.8 kB / 0.7187 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.087, allocations: 72.89 kB / 0.7187 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/1.087, allocations: 65.39 kB / 0.7188 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003095/1.09, allocations: 2.373 MB / 0.7211 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.09, allocations: 3.938 kB / 0.7211 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005172/1.095, allocations: 1.717 MB / 0.7228 GB, free: 102.1 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 (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.001459/1.096, allocations: 0.6561 MB / 0.7234 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.107, allocations: 4.578 MB / 0.7279 GB, free: 96.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.107, allocations: 0 / 0.7279 GB, free: 96.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/1.109, allocations: 0.8437 MB / 0.7287 GB, free: 96.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007838/1.117, allocations: 1.781 MB / 0.7305 GB, free: 94.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.132, allocations: 6.65 MB / 0.7369 GB, free: 87.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.133, allocations: 2.217 MB / 0.7391 GB, free: 85.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004006/1.137, allocations: 0.8388 MB / 0.7399 GB, free: 84.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/1.138, allocations: 271.3 kB / 0.7402 GB, free: 84.35 MB / 0.4981 GB Notification: Performance of SimCode: time 1.223e-06/1.138, allocations: 0 / 0.7402 GB, free: 84.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.1193/1.257, allocations: 83.16 MB / 0.8214 GB, free: 1.531 MB / 0.4981 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)