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: "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006608/0.006609, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001291/0.001291, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9157/0.9157, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 55.91 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4051, allocations: 80.92 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09497/0.5001, allocations: 105 MB / 0.7667 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04518/0.5453, allocations: 32.89 MB / 0.7988 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006589/0.552, allocations: 159.1 kB / 0.7989 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006224/0.5582, allocations: 2.011 MB / 0.8009 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01431/0.5726, allocations: 5.017 MB / 0.8058 GB, free: 136 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009168/0.5818, allocations: 3.904 MB / 0.8096 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01364/0.5954, allocations: 9.545 MB / 0.8189 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005728/0.6012, allocations: 3.523 MB / 0.8224 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01038/0.6116, allocations: 4.124 MB / 0.8264 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005748/0.6174, allocations: 3.046 MB / 0.8294 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.6186, allocations: 415.9 kB / 0.8298 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00608/0.6247, allocations: 2.628 MB / 0.8323 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001624/0.6263, allocations: 1.324 MB / 0.8336 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003653/0.63, allocations: 2.355 MB / 0.8359 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.6413, allocations: 7.442 MB / 0.8432 GB, free: 9.703 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6414, allocations: 3.938 kB / 0.8432 GB, free: 9.699 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6414, allocations: 8 kB / 0.8432 GB, free: 9.691 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001792/0.6416, allocations: 0 / 0.8432 GB, free: 9.691 MB / 0.67 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.01048/0.6521, allocations: 5.071 MB / 0.8481 GB, free: 4.539 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6521, allocations: 8.031 kB / 0.8482 GB, free: 4.531 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003447/0.6525, allocations: 291.6 kB / 0.8484 GB, free: 4.234 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005986/0.6585, allocations: 1.177 MB / 0.8496 GB, free: 3.051 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009739/0.6682, allocations: 4.27 MB / 0.8538 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.6685, allocations: 180.2 kB / 0.8539 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000596/0.6691, allocations: 236 kB / 0.8541 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005506/0.6746, allocations: 2.73 MB / 0.8568 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/0.6746, allocations: 7.938 kB / 0.8568 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.6749, allocations: 87.94 kB / 0.8569 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/0.6749, allocations: 48 kB / 0.857 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004651/0.6796, allocations: 1.955 MB / 0.8589 GB, free: 9.328 MB / 0.6856 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.3447/1.024, allocations: 12.63 MB / 0.8712 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/1.028, allocations: 1.519 MB / 0.8727 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/1.03, allocations: 0.708 MB / 0.8734 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006746/1.037, allocations: 3.995 MB / 0.8773 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.037, allocations: 40.69 kB / 0.8773 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=107): time 2.905e-06/1.037, allocations: 0 / 0.8773 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=107): time 0.009484/1.047, allocations: 3.023 MB / 0.8803 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/1.047, allocations: 69.94 kB / 0.8803 GB, free: 173 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005264/1.052, allocations: 3.484 MB / 0.8837 GB, free: 171.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004095/1.052, allocations: 63.3 kB / 0.8838 GB, free: 171.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/1.054, allocations: 1.779 MB / 0.8855 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/1.054, allocations: 367.9 kB / 0.8859 GB, free: 170.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006474/1.055, allocations: 479.6 kB / 0.8863 GB, free: 170 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.425e-05/1.055, allocations: 302.2 kB / 0.8866 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/1.057, allocations: 1.182 MB / 0.8878 GB, free: 169.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/1.06, allocations: 1.886 MB / 0.8896 GB, free: 167.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/1.064, allocations: 2.956 MB / 0.8925 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/1.064, allocations: 4.375 kB / 0.8925 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.008092/1.072, allocations: 3.763 MB / 0.8962 GB, free: 164 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/1.072, allocations: 12.22 kB / 0.8962 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/1.072, allocations: 17.66 kB / 0.8962 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/1.074, allocations: 0.7279 MB / 0.8969 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.076, allocations: 428.2 kB / 0.8973 GB, free: 163.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/1.078, allocations: 2.758 MB / 0.9 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/1.081, allocations: 266.2 kB / 0.9003 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/1.081, allocations: 153.8 kB / 0.9004 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002983/1.084, allocations: 1.663 MB / 0.902 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002036/1.086, allocations: 1.687 MB / 0.9037 GB, free: 158.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003625/1.09, allocations: 2.572 MB / 0.9062 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.277e-05/1.09, allocations: 5.875 kB / 0.9062 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.006398/1.096, allocations: 3.458 MB / 0.9096 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.096, allocations: 15.84 kB / 0.9096 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.096, allocations: 19.81 kB / 0.9096 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/1.098, allocations: 0.8608 MB / 0.9105 GB, free: 154.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.1, allocations: 402.5 kB / 0.9108 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/1.114, allocations: 13.8 MB / 0.9243 GB, free: 144.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/1.116, allocations: 191.4 kB / 0.9245 GB, free: 144.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/1.117, allocations: 137.4 kB / 0.9246 GB, free: 144.1 MB / 0.6856 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 (203): * Single equations (assignments): 195 * 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.0006172/1.117, allocations: 306.6 kB / 0.9249 GB, free: 143.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006321/1.118, allocations: 356 kB / 0.9253 GB, free: 143.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005361/1.123, allocations: 2.632 MB / 0.9278 GB, free: 141.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/1.123, allocations: 12 kB / 0.9279 GB, free: 141.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.123, allocations: 0 / 0.9279 GB, free: 141.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/1.123, allocations: 11.14 kB / 0.9279 GB, free: 141.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008233/1.132, allocations: 4.832 MB / 0.9326 GB, free: 136.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.132, allocations: 0 / 0.9326 GB, free: 136.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.133, allocations: 235.8 kB / 0.9328 GB, free: 136.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00082/1.134, allocations: 398.5 kB / 0.9332 GB, free: 135.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.52e-05/1.134, allocations: 47.95 kB / 0.9332 GB, free: 135.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/1.135, allocations: 2.627 MB / 0.9358 GB, free: 133 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.135, allocations: 0 / 0.9358 GB, free: 133 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/1.14, allocations: 2.402 MB / 0.9381 GB, free: 130.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.141, allocations: 0.6169 MB / 0.9388 GB, free: 129.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/1.141, allocations: 23.94 kB / 0.9388 GB, free: 129.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.143, allocations: 95.83 kB / 0.9389 GB, free: 129.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.143, allocations: 81.19 kB / 0.9389 GB, free: 129.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.143, allocations: 72.7 kB / 0.939 GB, free: 129.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002683/1.146, allocations: 2.326 MB / 0.9413 GB, free: 127.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/1.146, allocations: 0 / 0.9413 GB, free: 127.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004561/1.15, allocations: 1.79 MB / 0.943 GB, free: 125.6 MB / 0.6856 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 (113): * Single equations (assignments): 99 * 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.005436/1.156, allocations: 3.404 MB / 0.9464 GB, free: 122.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008115/1.164, allocations: 4.469 MB / 0.9507 GB, free: 117.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.164, allocations: 0 / 0.9507 GB, free: 117.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/1.166, allocations: 0.8968 MB / 0.9516 GB, free: 116.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007263/1.173, allocations: 1.753 MB / 0.9533 GB, free: 115.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04294/1.216, allocations: 28.35 MB / 0.981 GB, free: 86.13 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/1.217, allocations: 2.25 MB / 0.9832 GB, free: 83.86 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002932/1.22, allocations: 0.8611 MB / 0.984 GB, free: 82.99 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/1.222, allocations: 1.636 MB / 0.9856 GB, free: 81.36 MB / 0.6856 GB Notification: Performance of SimCode: time 9.92e-07/1.222, allocations: 0 / 0.9856 GB, free: 81.36 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1554/1.377, allocations: 109 MB / 1.092 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.13/21.51, allocations: 7.922 kB / 1.092 GB, free: 5.418 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)