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.000815/0.0008153, allocations: 86.64 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.0008908/0.0008908, 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.404/1.404, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9077/0.9077, allocations: 135.3 MB / 426.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 8.875 kB / 0.5071 GB, free: 5.062 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1804, allocations: 82.31 MB / 0.5875 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.3921/0.5725, allocations: 96.7 MB / 0.6819 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.05/0.6225, allocations: 30.9 MB / 0.7121 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007501/0.6301, allocations: 134.6 kB / 0.7122 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006237/0.6364, allocations: 1.334 MB / 0.7135 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01603/0.6524, allocations: 4.015 MB / 0.7174 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01178/0.6642, allocations: 2.908 MB / 0.7203 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0173/0.6815, allocations: 10.81 MB / 0.7308 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006177/0.6878, allocations: 2.656 MB / 0.7334 GB, free: 4.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008297/0.6961, allocations: 3.251 MB / 0.7366 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005605/0.7017, allocations: 2.809 MB / 0.7393 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.7031, allocations: 168 kB / 0.7395 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0065/0.7096, allocations: 1.821 MB / 0.7413 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002434/0.712, allocations: 1.039 MB / 0.7423 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.7145, allocations: 0.8665 MB / 0.7431 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008811/0.7233, allocations: 5.599 MB / 0.7486 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7234, allocations: 0 / 0.7486 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7234, allocations: 0 / 0.7486 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000256/0.7236, allocations: 0 / 0.7486 GB, free: 7.438 MB / 0.5606 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.01032/0.734, allocations: 4.403 MB / 0.7529 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.734, allocations: 12.03 kB / 0.7529 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007331/0.7348, allocations: 287.4 kB / 0.7532 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005858/0.7406, allocations: 1.274 MB / 0.7544 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009736/0.7504, allocations: 4.14 MB / 0.7585 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.7506, allocations: 188.9 kB / 0.7587 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006279/0.7513, allocations: 228 kB / 0.7589 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005638/0.7569, allocations: 2.728 MB / 0.7615 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/0.757, allocations: 7.938 kB / 0.7615 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.7572, allocations: 84 kB / 0.7616 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.7573, allocations: 52 kB / 0.7617 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004634/0.7619, allocations: 1.991 MB / 0.7636 GB, free: 7.762 MB / 0.5762 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.01705/0.779, allocations: 12.42 MB / 0.7758 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.7824, allocations: 1.595 MB / 0.7773 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.784, allocations: 0.7493 MB / 0.778 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006549/0.7906, allocations: 4.079 MB / 0.782 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.7907, allocations: 43.56 kB / 0.7821 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001179/0.7919, allocations: 194.4 kB / 0.7823 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=111): time 4.388e-06/0.7919, allocations: 4 kB / 0.7823 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=111): time 0.007961/0.7998, allocations: 3.15 MB / 0.7853 GB, free: 248 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.7999, allocations: 60.41 kB / 0.7854 GB, free: 176 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004828/0.8047, allocations: 3.393 MB / 0.7887 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.8049, allocations: 57.7 kB / 0.7888 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.8064, allocations: 1.777 MB / 0.7905 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.8067, allocations: 386.4 kB / 0.7909 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.8069, allocations: 36 kB / 0.7909 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.807, allocations: 381.8 kB / 0.7913 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.8089, allocations: 0.8666 MB / 0.7921 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.8111, allocations: 1.558 MB / 0.7936 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.8131, allocations: 1.021 MB / 0.7946 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.8131, allocations: 8 kB / 0.7946 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.005545/0.8186, allocations: 2.937 MB / 0.7975 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004072/0.8191, allocations: 0.6297 MB / 0.7981 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.8191, allocations: 16 kB / 0.7981 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.8204, allocations: 403.1 kB / 0.7985 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.822, allocations: 435.3 kB / 0.7989 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.824, allocations: 2.74 MB / 0.8016 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.8263, allocations: 211.8 kB / 0.8018 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/0.8266, allocations: 155.9 kB / 0.802 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.8266, allocations: 4 kB / 0.802 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00565/0.8322, allocations: 3.15 MB / 0.805 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.8323, allocations: 16.22 kB / 0.8051 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002183/0.8345, allocations: 0.8584 MB / 0.8059 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.8359, allocations: 407.4 kB / 0.8063 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/0.8508, allocations: 12.38 MB / 0.8184 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.8533, allocations: 199.7 kB / 0.8186 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/0.8535, allocations: 140 kB / 0.8187 GB, free: 12.62 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 (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.001609/0.8551, allocations: 0.8703 MB / 0.8195 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/0.8556, allocations: 359.3 kB / 0.8199 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005397/0.861, allocations: 2.698 MB / 0.8225 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.8611, allocations: 15.98 kB / 0.8225 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8611, allocations: 4 kB / 0.8225 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.8611, allocations: 7.969 kB / 0.8225 GB, free: 8.668 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.008294/0.8694, allocations: 4.91 MB / 0.8273 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.8694, allocations: 4 kB / 0.8273 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.8705, allocations: 251.7 kB / 0.8276 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008529/0.8714, allocations: 403 kB / 0.828 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/0.8715, allocations: 39.97 kB / 0.828 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.8731, allocations: 2.627 MB / 0.8306 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8732, allocations: 4 kB / 0.8306 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004611/0.8778, allocations: 2.445 MB / 0.833 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.8789, allocations: 0.6052 MB / 0.8336 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.8792, allocations: 20 kB / 0.8336 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.8808, allocations: 199.6 kB / 0.8338 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.8809, allocations: 89.14 kB / 0.8338 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.881, allocations: 71.94 kB / 0.8339 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002991/0.884, allocations: 2.247 MB / 0.8361 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8841, allocations: 0 / 0.8361 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004884/0.8889, allocations: 1.809 MB / 0.8379 GB, free: 8.68 MB / 0.6544 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.006089/0.895, allocations: 3.375 MB / 0.8412 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007482/0.9026, allocations: 4.112 MB / 0.8452 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.9026, allocations: 4 kB / 0.8452 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.9045, allocations: 0.911 MB / 0.8461 GB, free: 200 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006316/0.9108, allocations: 1.712 MB / 0.8478 GB, free: 14.49 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3103/1.221, allocations: 26.15 MB / 0.8733 GB, free: 199.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/1.223, allocations: 2.252 MB / 0.8755 GB, free: 198.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003914/1.226, allocations: 0.8779 MB / 0.8763 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/1.228, allocations: 1.622 MB / 0.8779 GB, free: 197.8 MB / 0.67 GB Notification: Performance of SimCode: time 6.91e-07/1.228, allocations: 1.75 kB / 0.8779 GB, free: 197.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1766/1.405, allocations: 110.8 MB / 0.9861 GB, free: 127 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/1.405, allocations: 258.6 kB / 0.9864 GB, free: 126.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.802/7.207, allocations: 0 / 0.9864 GB, free: 126.6 MB / 0.67 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/linux/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) Environment - environmentSimulation: