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.001444/0.001444, allocations: 100 kB / 15.05 MB, free: 1.105 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.00172/0.00172, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.406/2.406, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.745/1.745, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005838/0.0005839, allocations: 11.98 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2661, allocations: 82.3 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.6478/0.9139, allocations: 87.94 MB / 0.6731 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.07801/0.992, allocations: 28.67 MB / 0.7011 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00929/1.001, allocations: 132.4 kB / 0.7013 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01012/1.012, allocations: 1.625 MB / 0.7029 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03289/1.045, allocations: 5.152 MB / 0.7079 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0222/1.067, allocations: 3.801 MB / 0.7116 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0231/1.09, allocations: 5.832 MB / 0.7173 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/1.102, allocations: 2.685 MB / 0.7199 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01501/1.117, allocations: 2.991 MB / 0.7228 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008022/1.125, allocations: 2.012 MB / 0.7248 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002236/1.128, allocations: 162.2 kB / 0.725 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/1.139, allocations: 1.743 MB / 0.7267 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003419/1.143, allocations: 0.9604 MB / 0.7276 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003539/1.147, allocations: 0.8623 MB / 0.7284 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/1.162, allocations: 5.467 MB / 0.7338 GB, free: 6.215 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.162, allocations: 0 / 0.7338 GB, free: 6.215 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.148e-06/1.163, allocations: 0 / 0.7338 GB, free: 6.215 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002979/1.163, allocations: 4 kB / 0.7338 GB, free: 6.211 MB / 0.545 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.0199/1.183, allocations: 4.364 MB / 0.738 GB, free: 1.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/1.183, allocations: 16.03 kB / 0.7381 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001332/1.184, allocations: 287.4 kB / 0.7383 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/1.197, allocations: 1.282 MB / 0.7396 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02079/1.217, allocations: 4.16 MB / 0.7436 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004092/1.218, allocations: 185.2 kB / 0.7438 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/1.219, allocations: 232 kB / 0.744 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/1.23, allocations: 2.676 MB / 0.7467 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/1.23, allocations: 7.891 kB / 0.7467 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004683/1.231, allocations: 92 kB / 0.7468 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.933e-05/1.231, allocations: 52 kB / 0.7468 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/1.241, allocations: 1.94 MB / 0.7487 GB, free: 6.637 MB / 0.5606 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.03332/1.274, allocations: 12.33 MB / 0.7607 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007155/1.282, allocations: 1.521 MB / 0.7622 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01367/1.295, allocations: 4.068 MB / 0.7662 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.335e-05/1.295, allocations: 47.56 kB / 0.7662 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002889/1.298, allocations: 210.2 kB / 0.7664 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 7.173e-06/1.298, allocations: 4 kB / 0.7664 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.018/1.316, allocations: 3.053 MB / 0.7694 GB, free: 156 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/1.317, allocations: 64.41 kB / 0.7695 GB, free: 80 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00998/1.327, allocations: 3.432 MB / 0.7728 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008604/1.327, allocations: 57.7 kB / 0.7729 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003147/1.331, allocations: 1.789 MB / 0.7746 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.332, allocations: 382.4 kB / 0.775 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/1.332, allocations: 36 kB / 0.775 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002831/1.332, allocations: 381.9 kB / 0.7754 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003851/1.336, allocations: 0.8315 MB / 0.7762 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004786/1.341, allocations: 1.538 MB / 0.7777 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/1.346, allocations: 0.9861 MB / 0.7787 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-05/1.346, allocations: 4 kB / 0.7787 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.0136/1.36, allocations: 2.898 MB / 0.7815 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.004345/1.364, allocations: 8.129 MB / 0.7895 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.11e-05/1.364, allocations: 20 kB / 0.7895 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/1.367, allocations: 407 kB / 0.7899 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/1.371, allocations: 443.2 kB / 0.7903 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/1.376, allocations: 2.752 MB / 0.793 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005886/1.381, allocations: 207.9 kB / 0.7932 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000836/1.382, allocations: 163.9 kB / 0.7933 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.382, allocations: 4 kB / 0.7933 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01346/1.396, allocations: 3.103 MB / 0.7964 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/1.396, allocations: 16 kB / 0.7964 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004993/1.401, allocations: 0.8548 MB / 0.7972 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003356/1.405, allocations: 411.3 kB / 0.7976 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03303/1.438, allocations: 12.89 MB / 0.8102 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005666/1.443, allocations: 195.7 kB / 0.8104 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008784/1.444, allocations: 136 kB / 0.8105 GB, free: 4.426 MB / 0.6231 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.004366/1.449, allocations: 0.8752 MB / 0.8114 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/1.451, allocations: 363.2 kB / 0.8117 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/1.464, allocations: 2.682 MB / 0.8143 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.488e-05/1.464, allocations: 19.92 kB / 0.8143 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.465, allocations: 0 / 0.8143 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.766e-05/1.465, allocations: 3.984 kB / 0.8143 GB, free: 472 kB / 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 postOpt removeSimpleEquations (simulation): time 0.02101/1.486, allocations: 5.067 MB / 0.8193 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/1.486, allocations: 4 kB / 0.8193 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/1.488, allocations: 255.7 kB / 0.8195 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/1.491, allocations: 387 kB / 0.8199 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000371/1.491, allocations: 51.95 kB / 0.82 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/1.494, allocations: 2.619 MB / 0.8225 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.494, allocations: 4.031 kB / 0.8225 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/1.505, allocations: 2.513 MB / 0.825 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003322/1.508, allocations: 0.6132 MB / 0.8256 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001454/1.51, allocations: 24 kB / 0.8256 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004883/1.515, allocations: 203.5 kB / 0.8258 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/1.515, allocations: 93.14 kB / 0.8259 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003525/1.516, allocations: 71.94 kB / 0.826 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.008474/1.524, allocations: 2.286 MB / 0.8282 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.174e-06/1.524, allocations: 4 kB / 0.8282 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0163/1.541, allocations: 1.844 MB / 0.83 GB, free: 72 kB / 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.01402/1.555, allocations: 3.692 MB / 0.8336 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01645/1.571, allocations: 4.047 MB / 0.8375 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.571, allocations: 0 / 0.8375 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004269/1.576, allocations: 0.8825 MB / 0.8384 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0146/1.59, allocations: 1.7 MB / 0.8401 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03784/1.628, allocations: 21.04 MB / 0.8606 GB, free: 112 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4605/2.089, allocations: 2.323 MB / 0.8629 GB, free: 202.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009022/2.098, allocations: 0.9061 MB / 0.8638 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004362/2.102, allocations: 1.638 MB / 0.8654 GB, free: 202.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.192e-06/2.102, allocations: 3.438 kB / 0.8654 GB, free: 202.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2386/2.341, allocations: 109.5 MB / 0.9723 GB, free: 141.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/2.341, allocations: 249.4 kB / 0.9726 GB, free: 141.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/10.7, allocations: 4 kB / 0.9726 GB, free: 141.1 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: