Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",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.006891/0.006891, allocations: 104.5 kB / 15.73 MB, free: 6.051 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.001623/0.001624, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 62.78 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1728, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.03116/0.204, allocations: 30.57 MB / 0.689 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.2188, allocations: 10.22 MB / 0.699 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.2212, allocations: 43.75 kB / 0.6991 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.2236, allocations: 0.6953 MB / 0.6997 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.2279, allocations: 1.497 MB / 0.7012 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.2314, allocations: 1.308 MB / 0.7025 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.2357, allocations: 2.899 MB / 0.7053 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.237, allocations: 0.9215 MB / 0.7062 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.2393, allocations: 1.164 MB / 0.7073 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008111/0.2401, allocations: 0.7661 MB / 0.7081 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.2403, allocations: 96 kB / 0.7082 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.2418, allocations: 0.7997 MB / 0.709 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.2421, allocations: 334.9 kB / 0.7093 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.2426, allocations: 0.5792 MB / 0.7098 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.245, allocations: 1.898 MB / 0.7117 GB, free: 8.066 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2451, allocations: 0 / 0.7117 GB, free: 8.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2451, allocations: 0 / 0.7117 GB, free: 8.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.2451, allocations: 4 kB / 0.7117 GB, free: 8.062 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002592/0.2477, allocations: 1.489 MB / 0.7132 GB, free: 6.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.2477, allocations: 15.91 kB / 0.7132 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.2479, allocations: 110.6 kB / 0.7133 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009099/0.2488, allocations: 199.4 kB / 0.7135 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.2504, allocations: 1.003 MB / 0.7144 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.2505, allocations: 49.31 kB / 0.7145 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/0.2506, allocations: 64 kB / 0.7146 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.2517, allocations: 0.702 MB / 0.7152 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.2517, allocations: 4 kB / 0.7152 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.2518, allocations: 24 kB / 0.7153 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.2518, allocations: 16 kB / 0.7153 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2529, allocations: 0.5164 MB / 0.7158 GB, free: 3.738 MB / 0.545 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.003601/0.2565, allocations: 3.078 MB / 0.7188 GB, free: 492 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.2574, allocations: 374.6 kB / 0.7191 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/0.2578, allocations: 192.7 kB / 0.7193 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/0.2595, allocations: 1.481 MB / 0.7208 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005101/0.26, allocations: 236.5 kB / 0.721 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.26, allocations: 0 / 0.721 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001319/0.2614, allocations: 0.555 MB / 0.7215 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.2614, allocations: 59.34 kB / 0.7216 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.2625, allocations: 0.8994 MB / 0.7225 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.2625, allocations: 37.7 kB / 0.7225 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.2629, allocations: 495.7 kB / 0.723 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.263, allocations: 106.5 kB / 0.7231 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.2632, allocations: 122.1 kB / 0.7232 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2633, allocations: 330 kB / 0.7235 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.2637, allocations: 198.9 kB / 0.7237 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.2643, allocations: 406.3 kB / 0.7241 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009557/0.2653, allocations: 0.5913 MB / 0.7247 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2653, allocations: 0 / 0.7247 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001367/0.2667, allocations: 0.7107 MB / 0.7254 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.2667, allocations: 35.58 kB / 0.7254 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2667, allocations: 8 kB / 0.7254 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.2668, allocations: 11.94 kB / 0.7254 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.2672, allocations: 127.8 kB / 0.7255 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.2673, allocations: 15.92 kB / 0.7256 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.2678, allocations: 72 kB / 0.7256 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.2679, allocations: 32.06 kB / 0.7257 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006464/0.2686, allocations: 401.8 kB / 0.726 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004795/0.269, allocations: 370.3 kB / 0.7264 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007832/0.2698, allocations: 0.5425 MB / 0.7269 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.2699, allocations: 7.938 kB / 0.7269 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001104/0.271, allocations: 0.6582 MB / 0.7276 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.271, allocations: 37.69 kB / 0.7276 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.271, allocations: 4 kB / 0.7276 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.271, allocations: 12 kB / 0.7276 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.2714, allocations: 115.8 kB / 0.7277 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2715, allocations: 15.88 kB / 0.7278 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.2719, allocations: 68.22 kB / 0.7278 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.272, allocations: 32.12 kB / 0.7278 GB, free: 6.555 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.2722, allocations: 212.1 kB / 0.7281 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2723, allocations: 90.88 kB / 0.7281 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.2735, allocations: 0.5779 MB / 0.7287 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.2735, allocations: 11.94 kB / 0.7287 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.2735, allocations: 0 / 0.7287 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009339/0.2745, allocations: 0.6426 MB / 0.7293 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.2765, allocations: 1.356 MB / 0.7307 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2765, allocations: 0 / 0.7307 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.2769, allocations: 84 kB / 0.7307 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.2769, allocations: 3.938 kB / 0.7307 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.277, allocations: 15.98 kB / 0.7308 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.277, allocations: 0 / 0.7308 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.277, allocations: 4 kB / 0.7308 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.2784, allocations: 0.8351 MB / 0.7316 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.2787, allocations: 219.8 kB / 0.7318 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/0.2788, allocations: 11.98 kB / 0.7318 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.2792, allocations: 19.98 kB / 0.7318 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.2793, allocations: 36.22 kB / 0.7319 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.2793, allocations: 15.98 kB / 0.7319 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007268/0.2801, allocations: 0.6258 MB / 0.7325 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2801, allocations: 0 / 0.7325 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001338/0.2814, allocations: 0.5029 MB / 0.733 GB, free: 1.09 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00239/0.2838, allocations: 1.651 MB / 0.7346 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.2854, allocations: 0.8551 MB / 0.7354 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2854, allocations: 0 / 0.7354 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.2859, allocations: 217 kB / 0.7356 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.2877, allocations: 499.4 kB / 0.7361 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009087/0.2968, allocations: 6.697 MB / 0.7426 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/0.2974, allocations: 1.056 MB / 0.7437 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008388/0.2983, allocations: 227.1 kB / 0.7439 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.2988, allocations: 363.3 kB / 0.7442 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.2988, allocations: 4 kB / 0.7442 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0562/0.355, allocations: 27.44 MB / 0.771 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.175/9.53, allocations: 10.34 kB / 0.7711 GB, free: 10.13 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)