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.0009679/0.0009681, allocations: 96.62 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.001306/0.001306, allocations: 173.6 kB / 16.27 MB, free: 6.66 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8892/0.8892, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 8.688 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 82.3 MB / 0.5881 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.3003/0.4301, allocations: 102.4 MB / 0.6881 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04348/0.4737, allocations: 32.63 MB / 0.72 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005842/0.4796, allocations: 134.5 kB / 0.7201 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005277/0.4849, allocations: 1.66 MB / 0.7217 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0132/0.4981, allocations: 4.647 MB / 0.7262 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009061/0.5072, allocations: 3.526 MB / 0.7297 GB, free: 5.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01446/0.5216, allocations: 12.68 MB / 0.7421 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004131/0.5258, allocations: 2.948 MB / 0.7449 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007437/0.5332, allocations: 3.364 MB / 0.7482 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005206/0.5385, allocations: 2.963 MB / 0.7511 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009396/0.5394, allocations: 164 kB / 0.7513 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006072/0.5455, allocations: 2.366 MB / 0.7536 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.5472, allocations: 1.078 MB / 0.7546 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003512/0.5507, allocations: 2.092 MB / 0.7567 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009377/0.5601, allocations: 7.07 MB / 0.7636 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5602, allocations: 0 / 0.7636 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.37e-06/0.5602, allocations: 0 / 0.7636 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001266/0.5603, allocations: 3.938 kB / 0.7636 GB, free: 8.293 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.007755/0.5681, allocations: 4.345 MB / 0.7678 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5681, allocations: 12.03 kB / 0.7679 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006067/0.5688, allocations: 291.6 kB / 0.7681 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006088/0.5749, allocations: 1.275 MB / 0.7694 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009051/0.5839, allocations: 4.293 MB / 0.7736 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.5842, allocations: 181.2 kB / 0.7737 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004829/0.5846, allocations: 236 kB / 0.774 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004872/0.5895, allocations: 2.739 MB / 0.7766 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.5896, allocations: 7.875 kB / 0.7766 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.5898, allocations: 88 kB / 0.7767 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/0.5898, allocations: 52 kB / 0.7768 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004428/0.5943, allocations: 1.995 MB / 0.7787 GB, free: 8.496 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.01477/0.609, allocations: 12.44 MB / 0.7909 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.6125, allocations: 1.6 MB / 0.7924 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.6141, allocations: 0.7571 MB / 0.7932 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005673/0.6198, allocations: 4.072 MB / 0.7972 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.6198, allocations: 47.56 kB / 0.7972 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008307/0.6207, allocations: 202.3 kB / 0.7974 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=111): time 2.615e-06/0.6207, allocations: 4 kB / 0.7974 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111): time 0.008156/0.6288, allocations: 3.139 MB / 0.8005 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.6289, allocations: 60.41 kB / 0.8005 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003821/0.6327, allocations: 3.428 MB / 0.8039 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.6329, allocations: 61.69 kB / 0.8039 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.6341, allocations: 1.773 MB / 0.8057 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.6345, allocations: 390.4 kB / 0.806 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.6347, allocations: 181.6 kB / 0.8062 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.6348, allocations: 305.1 kB / 0.8065 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/0.637, allocations: 1.206 MB / 0.8077 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/0.6395, allocations: 1.917 MB / 0.8095 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004554/0.6441, allocations: 3.018 MB / 0.8125 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.6441, allocations: 4 kB / 0.8125 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.006459/0.6506, allocations: 3.846 MB / 0.8162 GB, free: 144 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003692/0.651, allocations: 0.6398 MB / 0.8169 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/0.651, allocations: 23.98 kB / 0.8169 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.6527, allocations: 0.7294 MB / 0.8176 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.6544, allocations: 431.3 kB / 0.818 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.6565, allocations: 2.752 MB / 0.8207 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.6589, allocations: 215.1 kB / 0.8209 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.6592, allocations: 155.9 kB / 0.8211 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.6592, allocations: 7.938 kB / 0.8211 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005893/0.6651, allocations: 3.158 MB / 0.8242 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/0.6652, allocations: 32.08 kB / 0.8242 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/0.6677, allocations: 0.8504 MB / 0.825 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.6692, allocations: 407.4 kB / 0.8254 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/0.6845, allocations: 12.33 MB / 0.8374 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.6872, allocations: 203.6 kB / 0.8376 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/0.6874, allocations: 140 kB / 0.8378 GB, free: 9.059 MB / 0.6544 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.001577/0.689, allocations: 0.8674 MB / 0.8386 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005265/0.6896, allocations: 359.3 kB / 0.839 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005615/0.6952, allocations: 2.706 MB / 0.8416 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.6952, allocations: 19.92 kB / 0.8416 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.6952, allocations: 0 / 0.8416 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.6952, allocations: 3.984 kB / 0.8416 GB, free: 5.098 MB / 0.6544 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.008497/0.7037, allocations: 4.923 MB / 0.8464 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.7038, allocations: 0 / 0.8464 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.7049, allocations: 247.7 kB / 0.8467 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008818/0.7058, allocations: 394.9 kB / 0.847 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.7059, allocations: 51.89 kB / 0.8471 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.7076, allocations: 2.627 MB / 0.8497 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7076, allocations: 4.094 kB / 0.8497 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004764/0.7124, allocations: 2.445 MB / 0.8521 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009922/0.7134, allocations: 0.6014 MB / 0.8526 GB, free: 9.535 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.7137, allocations: 27.94 kB / 0.8527 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/0.7154, allocations: 195.6 kB / 0.8529 GB, free: 9.316 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.7155, allocations: 89.17 kB / 0.8529 GB, free: 9.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.7157, allocations: 67.95 kB / 0.853 GB, free: 9.164 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002893/0.7186, allocations: 2.286 MB / 0.8552 GB, free: 6.875 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7186, allocations: 0 / 0.8552 GB, free: 6.875 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00471/0.7233, allocations: 1.82 MB / 0.857 GB, free: 5.051 MB / 0.67 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.005876/0.7292, allocations: 3.404 MB / 0.8603 GB, free: 1.605 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.232/0.9612, allocations: 4.47 MB / 0.8647 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.9612, allocations: 0 / 0.8647 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.9631, allocations: 0.9111 MB / 0.8656 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00711/0.9702, allocations: 1.69 MB / 0.8672 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05586/1.026, allocations: 35.01 MB / 0.9014 GB, free: 188 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/1.028, allocations: 2.257 MB / 0.9036 GB, free: 187.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003814/1.032, allocations: 0.8697 MB / 0.9045 GB, free: 187 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/1.033, allocations: 1.629 MB / 0.9061 GB, free: 185.8 MB / 0.67 GB Notification: Performance of SimCode: time 7.61e-07/1.033, allocations: 0 / 0.9061 GB, free: 185.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.526/2.559, allocations: 104.8 MB / 1.008 GB, free: 106.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/2.559, allocations: 276.1 kB / 1.009 GB, free: 106 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.617/7.176, allocations: 3.938 kB / 1.009 GB, free: 106 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/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)