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.005624/0.005624, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001202/0.001202, allocations: 196.5 kB / 16.68 MB, free: 5.926 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7986/0.7986, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 66.98 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1538, allocations: 80.2 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.4673/0.6212, allocations: 104.9 MB / 0.7617 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04161/0.6628, allocations: 32.91 MB / 0.7938 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006604/0.6695, allocations: 157.6 kB / 0.7939 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005936/0.6754, allocations: 2.007 MB / 0.7959 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01625/0.6917, allocations: 5.019 MB / 0.8008 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.7025, allocations: 3.904 MB / 0.8046 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01452/0.717, allocations: 9.545 MB / 0.8139 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00541/0.7224, allocations: 3.534 MB / 0.8174 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009211/0.7317, allocations: 4.12 MB / 0.8214 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.7376, allocations: 3.036 MB / 0.8244 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.7389, allocations: 410.9 kB / 0.8248 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006963/0.7458, allocations: 2.642 MB / 0.8274 GB, free: 1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.7476, allocations: 1.322 MB / 0.8286 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003788/0.7514, allocations: 2.35 MB / 0.8309 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.7641, allocations: 7.449 MB / 0.8382 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7642, allocations: 4 kB / 0.8382 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7642, allocations: 0 / 0.8382 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000177/0.7644, allocations: 0 / 0.8382 GB, free: 8.109 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.01114/0.7755, allocations: 5.073 MB / 0.8432 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.7756, allocations: 8.031 kB / 0.8432 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004242/0.776, allocations: 295.6 kB / 0.8435 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006104/0.7821, allocations: 1.173 MB / 0.8446 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009737/0.7919, allocations: 4.266 MB / 0.8488 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.7921, allocations: 180.2 kB / 0.8489 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005576/0.7927, allocations: 234.7 kB / 0.8492 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005109/0.7978, allocations: 2.73 MB / 0.8518 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/0.7978, allocations: 7.938 kB / 0.8518 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.7981, allocations: 88 kB / 0.8519 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.7981, allocations: 55.94 kB / 0.852 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004629/0.8027, allocations: 1.952 MB / 0.8539 GB, free: 7.887 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.01722/0.82, allocations: 12.64 MB / 0.8662 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.8235, allocations: 1.523 MB / 0.8677 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.8251, allocations: 0.7071 MB / 0.8684 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00687/0.832, allocations: 3.995 MB / 0.8723 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.8321, allocations: 43.56 kB / 0.8723 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 2.896e-06/0.8321, allocations: 3.938 kB / 0.8724 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.009067/0.8412, allocations: 3.036 MB / 0.8753 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.8413, allocations: 64.41 kB / 0.8754 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005591/0.8468, allocations: 3.475 MB / 0.8788 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003536/0.8472, allocations: 56.12 kB / 0.8788 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.8487, allocations: 1.784 MB / 0.8806 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004646/0.8491, allocations: 381.3 kB / 0.8809 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007234/0.8499, allocations: 465.1 kB / 0.8814 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.85, allocations: 309 kB / 0.8817 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/0.8524, allocations: 1.18 MB / 0.8828 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/0.8553, allocations: 1.886 MB / 0.8847 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005239/0.8606, allocations: 2.952 MB / 0.8875 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/0.8606, allocations: 4 kB / 0.8875 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007789/0.8684, allocations: 3.763 MB / 0.8912 GB, free: 15.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.8685, allocations: 12 kB / 0.8912 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/0.8685, allocations: 20 kB / 0.8913 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.8704, allocations: 0.726 MB / 0.892 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.8722, allocations: 427.3 kB / 0.8924 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.8748, allocations: 2.752 MB / 0.8951 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/0.8776, allocations: 265.7 kB / 0.8953 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003617/0.878, allocations: 151.9 kB / 0.8955 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003517/0.8815, allocations: 1.663 MB / 0.8971 GB, free: 9.785 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002482/0.884, allocations: 1.687 MB / 0.8987 GB, free: 7.793 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004285/0.8883, allocations: 2.573 MB / 0.9012 GB, free: 4.977 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.659e-05/0.8883, allocations: 8 kB / 0.9012 GB, free: 4.969 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.007907/0.8962, allocations: 3.465 MB / 0.9046 GB, free: 1.488 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.8963, allocations: 16 kB / 0.9046 GB, free: 1.473 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.8963, allocations: 19.98 kB / 0.9047 GB, free: 1.453 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/0.899, allocations: 0.8585 MB / 0.9055 GB, free: 0.582 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.9006, allocations: 403.3 kB / 0.9059 GB, free: 192 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.9185, allocations: 13.8 MB / 0.9194 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/0.9212, allocations: 195.2 kB / 0.9195 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004641/0.9217, allocations: 140 kB / 0.9197 GB, free: 1.398 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.0007279/0.9224, allocations: 302 kB / 0.92 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009721/0.9234, allocations: 367.2 kB / 0.9203 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006592/0.93, allocations: 2.632 MB / 0.9229 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.9301, allocations: 16 kB / 0.9229 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.9301, allocations: 0 / 0.9229 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.9301, allocations: 11.91 kB / 0.9229 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.9408, allocations: 4.824 MB / 0.9276 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.9408, allocations: 4 kB / 0.9276 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.942, allocations: 231.7 kB / 0.9279 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009682/0.943, allocations: 391 kB / 0.9282 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.9431, allocations: 43.95 kB / 0.9283 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.945, allocations: 2.632 MB / 0.9308 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.945, allocations: 0 / 0.9308 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005632/0.9506, allocations: 2.416 MB / 0.9332 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/0.9522, allocations: 0.6013 MB / 0.9338 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007076/0.953, allocations: 24 kB / 0.9338 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/0.9549, allocations: 99.73 kB / 0.9339 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.9551, allocations: 97 kB / 0.934 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/0.9552, allocations: 71.94 kB / 0.9341 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004388/0.9596, allocations: 2.326 MB / 0.9363 GB, free: 96 kB / 0.7012 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9596, allocations: 0 / 0.9363 GB, free: 96 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.006377/0.966, allocations: 1.787 MB / 0.9381 GB, free: 14.3 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.007099/0.9731, allocations: 3.398 MB / 0.9414 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009984/0.9831, allocations: 4.472 MB / 0.9458 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.9832, allocations: 6 kB / 0.9458 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.9856, allocations: 0.8938 MB / 0.9466 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008227/0.9939, allocations: 1.756 MB / 0.9484 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06208/1.056, allocations: 28.36 MB / 0.9761 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/1.059, allocations: 2.238 MB / 0.9782 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003954/1.063, allocations: 0.8612 MB / 0.9791 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002537/1.065, allocations: 1.636 MB / 0.9807 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of SimCode: time 7.91e-07/1.065, allocations: 0 / 0.9807 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5652/1.631, allocations: 108.9 MB / 1.087 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.65/21.28, allocations: 21.06 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)