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.001038/0.001038, allocations: 98.19 kB / 15.36 MB, free: 0.7305 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.001172/0.001172, allocations: 172.6 kB / 16.26 MB, free: 6.664 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7423/0.7423, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 8.938 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3759, allocations: 81.57 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09679/0.4727, allocations: 102.4 MB / 0.6838 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04239/0.5152, allocations: 32.63 MB / 0.7156 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004759/0.52, allocations: 135.1 kB / 0.7158 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004735/0.5247, allocations: 1.671 MB / 0.7174 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.5369, allocations: 4.638 MB / 0.7219 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008571/0.5455, allocations: 3.525 MB / 0.7254 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01461/0.5601, allocations: 12.67 MB / 0.7378 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004898/0.565, allocations: 2.944 MB / 0.7406 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006455/0.5715, allocations: 3.364 MB / 0.7439 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/0.5758, allocations: 2.963 MB / 0.7468 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005995/0.5764, allocations: 168 kB / 0.747 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.5813, allocations: 2.362 MB / 0.7493 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.5826, allocations: 1.07 MB / 0.7503 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.5853, allocations: 2.099 MB / 0.7524 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009078/0.5944, allocations: 7.066 MB / 0.7593 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5944, allocations: 0 / 0.7593 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5944, allocations: 0 / 0.7593 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001278/0.5945, allocations: 4 kB / 0.7593 GB, free: 12.12 MB / 0.5919 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.008105/0.6027, allocations: 4.356 MB / 0.7635 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.6027, allocations: 8.031 kB / 0.7635 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004953/0.6032, allocations: 291.6 kB / 0.7638 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006446/0.6097, allocations: 1.279 MB / 0.7651 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009219/0.6189, allocations: 4.285 MB / 0.7692 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.6191, allocations: 185.1 kB / 0.7694 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004819/0.6196, allocations: 240 kB / 0.7697 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005179/0.6248, allocations: 2.739 MB / 0.7723 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.6249, allocations: 3.938 kB / 0.7723 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.6251, allocations: 88 kB / 0.7724 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.6251, allocations: 52 kB / 0.7725 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00479/0.6299, allocations: 2.006 MB / 0.7744 GB, free: 12.3 MB / 0.6075 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.01628/0.6462, allocations: 12.43 MB / 0.7866 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.65, allocations: 1.611 MB / 0.7881 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.6518, allocations: 0.7533 MB / 0.7889 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007207/0.659, allocations: 4.074 MB / 0.7928 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.6591, allocations: 43.56 kB / 0.7929 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001351/0.6604, allocations: 198.3 kB / 0.7931 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=111): time 3.737e-06/0.6605, allocations: 4 kB / 0.7931 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=111): time 0.009116/0.6696, allocations: 3.146 MB / 0.7962 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.6696, allocations: 64.41 kB / 0.7962 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/0.6741, allocations: 3.432 MB / 0.7996 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.6743, allocations: 61.7 kB / 0.7996 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.6757, allocations: 1.781 MB / 0.8014 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.6761, allocations: 386.5 kB / 0.8017 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.6764, allocations: 181.6 kB / 0.8019 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.6765, allocations: 301.1 kB / 0.8022 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/0.6788, allocations: 1.21 MB / 0.8034 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002753/0.6816, allocations: 1.905 MB / 0.8052 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005099/0.6867, allocations: 3.026 MB / 0.8082 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.6867, allocations: 8 kB / 0.8082 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.007578/0.6943, allocations: 3.842 MB / 0.8119 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004303/0.6948, allocations: 0.6295 MB / 0.8126 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.6948, allocations: 16 kB / 0.8126 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.6967, allocations: 0.7293 MB / 0.8133 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.6986, allocations: 427.3 kB / 0.8137 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2501/0.9487, allocations: 2.75 MB / 0.8164 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/0.9518, allocations: 216.6 kB / 0.8166 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003478/0.9522, allocations: 153.9 kB / 0.8167 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.9522, allocations: 4.5 kB / 0.8167 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006322/0.9585, allocations: 3.168 MB / 0.8198 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/0.9586, allocations: 19.42 kB / 0.8199 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/0.9612, allocations: 0.8499 MB / 0.8207 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.9628, allocations: 409.4 kB / 0.8211 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/0.977, allocations: 12.32 MB / 0.8331 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.9795, allocations: 205.2 kB / 0.8333 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.9797, allocations: 139.1 kB / 0.8334 GB, free: 196.5 MB / 0.6387 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 (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.001535/0.9812, allocations: 0.8654 MB / 0.8343 GB, free: 196 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.9816, allocations: 368.3 kB / 0.8346 GB, free: 196 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/0.9869, allocations: 2.706 MB / 0.8373 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.9869, allocations: 20.58 kB / 0.8373 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.9869, allocations: 1.156 kB / 0.8373 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.987, allocations: 7.781 kB / 0.8373 GB, free: 195.1 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.00791/0.9949, allocations: 4.931 MB / 0.8421 GB, free: 193.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.9949, allocations: 1.531 kB / 0.8421 GB, free: 193.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.9961, allocations: 244.8 kB / 0.8424 GB, free: 193.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008567/0.9969, allocations: 386.4 kB / 0.8427 GB, free: 193 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-05/0.997, allocations: 46.56 kB / 0.8428 GB, free: 193 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.9983, allocations: 2.625 MB / 0.8453 GB, free: 190.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9983, allocations: 7.781 kB / 0.8453 GB, free: 190.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00447/1.003, allocations: 2.451 MB / 0.8477 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009225/1.004, allocations: 0.5986 MB / 0.8483 GB, free: 189.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/1.004, allocations: 27.84 kB / 0.8483 GB, free: 189.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.006, allocations: 198.5 kB / 0.8485 GB, free: 189 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.006, allocations: 91.19 kB / 0.8486 GB, free: 189 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.006, allocations: 71.06 kB / 0.8487 GB, free: 189 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002586/1.009, allocations: 2.285 MB / 0.8509 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.009, allocations: 0 / 0.8509 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004985/1.014, allocations: 1.813 MB / 0.8527 GB, free: 187.5 MB / 0.6387 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 (117): * Single equations (assignments): 103 * 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.005309/1.019, allocations: 3.403 MB / 0.856 GB, free: 185.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007468/1.026, allocations: 4.476 MB / 0.8604 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.026, allocations: 3.438 kB / 0.8604 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/1.028, allocations: 0.9109 MB / 0.8613 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007211/1.036, allocations: 1.697 MB / 0.8629 GB, free: 180 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06015/1.096, allocations: 35.02 MB / 0.8971 GB, free: 142.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/1.097, allocations: 2.25 MB / 0.8993 GB, free: 140.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00363/1.101, allocations: 0.8798 MB / 0.9002 GB, free: 139.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/1.102, allocations: 1.624 MB / 0.9018 GB, free: 137.7 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/1.102, allocations: 0 / 0.9018 GB, free: 137.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.699/1.801, allocations: 104.7 MB / 1.004 GB, free: 34.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/1.802, allocations: 280.3 kB / 1.004 GB, free: 33.65 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.447/6.248, allocations: 0 / 1.004 GB, free: 33.65 MB / 0.6387 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)