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.0009196/0.0009196, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001092/0.001092, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7372/0.7372, allocations: 132.4 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 8.5 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4576, allocations: 81.57 MB / 0.5831 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09007/0.5477, allocations: 96.72 MB / 0.6776 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03945/0.5872, allocations: 30.91 MB / 0.7078 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006246/0.5934, allocations: 139.1 kB / 0.7079 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005451/0.5989, allocations: 1.331 MB / 0.7092 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01251/0.6115, allocations: 4.006 MB / 0.7131 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008815/0.6203, allocations: 2.91 MB / 0.716 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01616/0.6365, allocations: 10.82 MB / 0.7265 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005718/0.6422, allocations: 2.656 MB / 0.7291 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008003/0.6503, allocations: 3.244 MB / 0.7323 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005237/0.6555, allocations: 2.805 MB / 0.735 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008712/0.6564, allocations: 168 kB / 0.7352 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005181/0.6616, allocations: 1.825 MB / 0.737 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.6628, allocations: 1.043 MB / 0.738 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.6644, allocations: 0.8627 MB / 0.7388 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006582/0.671, allocations: 5.603 MB / 0.7443 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.671, allocations: 0 / 0.7443 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.671, allocations: 0 / 0.7443 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000134/0.6712, allocations: 0 / 0.7443 GB, free: 11.02 MB / 0.5762 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.008042/0.6792, allocations: 4.399 MB / 0.7486 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.6793, allocations: 8.031 kB / 0.7486 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005356/0.6798, allocations: 287.4 kB / 0.7489 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00584/0.6857, allocations: 1.274 MB / 0.7501 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.6978, allocations: 4.154 MB / 0.7542 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/0.6982, allocations: 185.2 kB / 0.7544 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.6994, allocations: 231.9 kB / 0.7546 GB, free: 328 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005941/0.7053, allocations: 2.724 MB / 0.7572 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.7054, allocations: 4 kB / 0.7573 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.7056, allocations: 88 kB / 0.7573 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.7057, allocations: 52 kB / 0.7574 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/0.7103, allocations: 1.991 MB / 0.7593 GB, free: 11.34 MB / 0.5919 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.01693/0.7272, allocations: 12.43 MB / 0.7715 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.7306, allocations: 1.595 MB / 0.773 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.7321, allocations: 0.7455 MB / 0.7738 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007341/0.7395, allocations: 4.074 MB / 0.7777 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.7396, allocations: 47.5 kB / 0.7778 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001569/0.7412, allocations: 194.4 kB / 0.778 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=111): time 6.813e-06/0.7412, allocations: 4 kB / 0.778 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111): time 0.00895/0.7501, allocations: 3.138 MB / 0.781 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.7502, allocations: 60.41 kB / 0.7811 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00671/0.757, allocations: 3.4 MB / 0.7844 GB, free: 348 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005437/0.7575, allocations: 57.7 kB / 0.7845 GB, free: 284 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001946/0.7595, allocations: 1.785 MB / 0.7862 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007335/0.7603, allocations: 382.4 kB / 0.7866 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/0.7607, allocations: 36 kB / 0.7866 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.7609, allocations: 377.9 kB / 0.787 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.7631, allocations: 0.8627 MB / 0.7878 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.7657, allocations: 1.57 MB / 0.7893 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.7681, allocations: 1.013 MB / 0.7903 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.7681, allocations: 8 kB / 0.7903 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.006762/0.7749, allocations: 2.937 MB / 0.7932 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004318/0.7753, allocations: 0.6332 MB / 0.7938 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.7754, allocations: 16 kB / 0.7938 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.7769, allocations: 403.1 kB / 0.7942 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/0.7789, allocations: 435.3 kB / 0.7946 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.7814, allocations: 2.744 MB / 0.7973 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.7843, allocations: 207.7 kB / 0.7975 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000417/0.7847, allocations: 159.9 kB / 0.7977 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.7847, allocations: 7.938 kB / 0.7977 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006553/0.7913, allocations: 3.146 MB / 0.8007 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/0.7914, allocations: 16 kB / 0.8008 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/0.7938, allocations: 0.8631 MB / 0.8016 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.7954, allocations: 407.3 kB / 0.802 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/0.8113, allocations: 12.36 MB / 0.8141 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.8141, allocations: 203.7 kB / 0.8143 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005131/0.8146, allocations: 136 kB / 0.8144 GB, free: 200 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.3204/1.135, allocations: 0.8604 MB / 0.8152 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009711/1.136, allocations: 363 kB / 0.8156 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00627/1.142, allocations: 2.7 MB / 0.8182 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/1.142, allocations: 16.52 kB / 0.8182 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.142, allocations: 0 / 0.8182 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/1.142, allocations: 6.375 kB / 0.8182 GB, free: 202.7 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.01074/1.153, allocations: 4.913 MB / 0.823 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.153, allocations: 1.375 kB / 0.823 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.154, allocations: 249 kB / 0.8233 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009276/1.155, allocations: 393.7 kB / 0.8237 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-05/1.155, allocations: 42.36 kB / 0.8237 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/1.157, allocations: 2.629 MB / 0.8263 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.157, allocations: 4.656 kB / 0.8263 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/1.163, allocations: 2.442 MB / 0.8286 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.164, allocations: 0.6067 MB / 0.8292 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/1.164, allocations: 33.86 kB / 0.8293 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.166, allocations: 193.5 kB / 0.8295 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/1.166, allocations: 84.23 kB / 0.8295 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/1.166, allocations: 70.62 kB / 0.8296 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003482/1.17, allocations: 2.257 MB / 0.8318 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.31e-07/1.17, allocations: 0 / 0.8318 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00677/1.177, allocations: 1.812 MB / 0.8336 GB, free: 196.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006559/1.183, allocations: 3.364 MB / 0.8369 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007971/1.191, allocations: 4.123 MB / 0.8409 GB, free: 193.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.191, allocations: 0 / 0.8409 GB, free: 193.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/1.193, allocations: 0.9097 MB / 0.8418 GB, free: 192.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006636/1.2, allocations: 1.707 MB / 0.8434 GB, free: 192.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04966/1.249, allocations: 26.16 MB / 0.869 GB, free: 170.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/1.251, allocations: 2.243 MB / 0.8712 GB, free: 168.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004231/1.255, allocations: 0.8719 MB / 0.872 GB, free: 167.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/1.257, allocations: 1.628 MB / 0.8736 GB, free: 165.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.112e-06/1.257, allocations: 0 / 0.8736 GB, free: 165.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1418/1.399, allocations: 110.8 MB / 0.9818 GB, free: 55.96 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/1.399, allocations: 261.5 kB / 0.9821 GB, free: 55.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.596/5.995, allocations: 0 / 0.9821 GB, free: 55.61 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/linux/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) Environment - environmentSimulation: