Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_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.01198/0.01198, allocations: 100.8 kB / 15.73 MB, free: 5.98 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.002842/0.002842, allocations: 201.7 kB / 16.68 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.055/2.055, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.124/1.124, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 67.41 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2526, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.8782/1.131, allocations: 104.9 MB / 0.7617 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.09113/1.222, allocations: 32.91 MB / 0.7938 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01437/1.237, allocations: 158.3 kB / 0.7939 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01145/1.248, allocations: 2.006 MB / 0.7959 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.03007/1.278, allocations: 5.03 MB / 0.8008 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02484/1.303, allocations: 3.893 MB / 0.8046 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03139/1.335, allocations: 9.552 MB / 0.8139 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0129/1.347, allocations: 3.532 MB / 0.8174 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02078/1.368, allocations: 4.115 MB / 0.8214 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/1.379, allocations: 3.044 MB / 0.8244 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002693/1.382, allocations: 413 kB / 0.8248 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/1.396, allocations: 2.629 MB / 0.8273 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003974/1.401, allocations: 1.324 MB / 0.8286 GB, free: 36 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.009045/1.41, allocations: 2.357 MB / 0.8309 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02583/1.436, allocations: 7.447 MB / 0.8382 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/1.436, allocations: 0 / 0.8382 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.805e-06/1.436, allocations: 0 / 0.8382 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003186/1.436, allocations: 4 kB / 0.8382 GB, free: 8.129 MB / 0.6075 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.02576/1.462, allocations: 5.078 MB / 0.8432 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001009/1.462, allocations: 8.031 kB / 0.8432 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001611/1.464, allocations: 287.6 kB / 0.8435 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/1.476, allocations: 1.181 MB / 0.8446 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03388/1.51, allocations: 4.264 MB / 0.8488 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/1.511, allocations: 180.2 kB / 0.8489 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/1.513, allocations: 236 kB / 0.8492 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/1.535, allocations: 2.73 MB / 0.8518 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/1.535, allocations: 4 kB / 0.8518 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004104/1.535, allocations: 84 kB / 0.8519 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.169e-05/1.536, allocations: 59.88 kB / 0.852 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01902/1.555, allocations: 1.955 MB / 0.8539 GB, free: 7.902 MB / 0.6231 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.03941/1.594, allocations: 12.63 MB / 0.8662 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007277/1.601, allocations: 1.527 MB / 0.8677 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003356/1.605, allocations: 0.711 MB / 0.8684 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/1.619, allocations: 3.991 MB / 0.8723 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.621e-05/1.619, allocations: 43.56 kB / 0.8723 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 6.532e-06/1.619, allocations: 4 kB / 0.8724 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.01542/1.635, allocations: 3.025 MB / 0.8753 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/1.635, allocations: 64.41 kB / 0.8754 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/1.647, allocations: 3.472 MB / 0.8788 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0008384/1.648, allocations: 65.7 kB / 0.8788 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003753/1.651, allocations: 1.785 MB / 0.8806 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/1.653, allocations: 374.8 kB / 0.8809 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/1.654, allocations: 470.8 kB / 0.8814 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.654, allocations: 309.1 kB / 0.8817 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004454/1.659, allocations: 1.184 MB / 0.8828 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00575/1.664, allocations: 1.874 MB / 0.8847 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.674, allocations: 2.963 MB / 0.8875 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/1.675, allocations: 4 kB / 0.8875 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01494/1.69, allocations: 3.756 MB / 0.8912 GB, free: 15.93 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.968e-05/1.69, allocations: 15.98 kB / 0.8912 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-05/1.69, allocations: 20 kB / 0.8913 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/1.693, allocations: 0.7262 MB / 0.892 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/1.697, allocations: 431.3 kB / 0.8924 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/1.702, allocations: 2.752 MB / 0.8951 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005167/1.707, allocations: 262 kB / 0.8953 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009107/1.708, allocations: 155.9 kB / 0.8955 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006815/1.715, allocations: 1.669 MB / 0.8971 GB, free: 9.801 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004966/1.72, allocations: 1.683 MB / 0.8987 GB, free: 7.812 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008695/1.729, allocations: 2.581 MB / 0.9013 GB, free: 4.988 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.295e-05/1.729, allocations: 4 kB / 0.9013 GB, free: 4.984 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.01463/1.744, allocations: 3.457 MB / 0.9046 GB, free: 1.508 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/1.744, allocations: 12 kB / 0.9046 GB, free: 1.496 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.367e-05/1.744, allocations: 20 kB / 0.9047 GB, free: 1.477 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004983/1.749, allocations: 0.8587 MB / 0.9055 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/1.752, allocations: 403.4 kB / 0.9059 GB, free: 216 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03399/1.786, allocations: 13.8 MB / 0.9194 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005616/1.792, allocations: 195 kB / 0.9196 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009397/1.793, allocations: 136 kB / 0.9197 GB, free: 1.422 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.001504/1.794, allocations: 303.5 kB / 0.92 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002458/1.797, allocations: 367.2 kB / 0.9203 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.811, allocations: 2.616 MB / 0.9229 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.954e-05/1.811, allocations: 23.98 kB / 0.9229 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.811, allocations: 4 kB / 0.9229 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-05/1.811, allocations: 11.91 kB / 0.9229 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/1.834, allocations: 4.827 MB / 0.9276 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/1.834, allocations: 4 kB / 0.9276 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/1.836, allocations: 239.7 kB / 0.9279 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/1.838, allocations: 394.4 kB / 0.9282 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003053/1.839, allocations: 43.95 kB / 0.9283 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003405/1.842, allocations: 2.627 MB / 0.9308 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/1.842, allocations: 4.031 kB / 0.9308 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009861/1.852, allocations: 2.417 MB / 0.9332 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003309/1.855, allocations: 0.6013 MB / 0.9338 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/1.857, allocations: 24 kB / 0.9338 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004309/1.861, allocations: 91.8 kB / 0.9339 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004933/1.862, allocations: 93.14 kB / 0.934 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004427/1.862, allocations: 67.94 kB / 0.9341 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.008532/1.871, allocations: 2.326 MB / 0.9363 GB, free: 124 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.293e-06/1.871, allocations: 4 kB / 0.9363 GB, free: 120 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01293/1.884, allocations: 1.789 MB / 0.9381 GB, free: 14.32 MB / 0.7169 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.01319/1.897, allocations: 3.392 MB / 0.9414 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01725/1.915, allocations: 4.478 MB / 0.9458 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.915, allocations: 0 / 0.9458 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004032/1.919, allocations: 0.8904 MB / 0.9466 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01469/1.933, allocations: 1.753 MB / 0.9484 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1037/2.037, allocations: 28.37 MB / 0.9761 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003783/2.041, allocations: 2.25 MB / 0.9783 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.006278/2.047, allocations: 0.8534 MB / 0.9791 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004477/2.052, allocations: 1.636 MB / 0.9807 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of SimCode: time 1.874e-06/2.052, allocations: 0 / 0.9807 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.006/3.058, allocations: 109 MB / 1.087 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.48/35.54, allocations: 7.812 kB / 1.087 GB, free: 312.6 MB / 0.8262 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)