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.005953/0.005953, allocations: 99.98 kB / 15.73 MB, free: 6.043 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.001364/0.001364, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7864/0.7865, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 63.39 kB / 0.5809 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1629, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.03293/0.1959, allocations: 30.58 MB / 0.689 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.2106, allocations: 10.22 MB / 0.699 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.2122, allocations: 43.75 kB / 0.6991 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.2141, allocations: 0.6874 MB / 0.6997 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003466/0.2175, allocations: 1.465 MB / 0.7012 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.2205, allocations: 1.297 MB / 0.7024 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003861/0.2244, allocations: 2.888 MB / 0.7052 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.2258, allocations: 0.9293 MB / 0.7062 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.2281, allocations: 1.132 MB / 0.7073 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.2291, allocations: 0.7701 MB / 0.708 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.2293, allocations: 96 kB / 0.7081 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.2315, allocations: 0.8035 MB / 0.7089 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003775/0.2319, allocations: 331 kB / 0.7092 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006655/0.2325, allocations: 0.5791 MB / 0.7098 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.2354, allocations: 1.911 MB / 0.7116 GB, free: 8.137 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2354, allocations: 0 / 0.7116 GB, free: 8.137 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2354, allocations: 0 / 0.7116 GB, free: 8.137 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.2354, allocations: 0 / 0.7116 GB, free: 8.137 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.002594/0.238, allocations: 1.53 MB / 0.7131 GB, free: 6.547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2381, allocations: 8.031 kB / 0.7131 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.2382, allocations: 102.7 kB / 0.7132 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009874/0.2392, allocations: 220 kB / 0.7134 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.241, allocations: 1.016 MB / 0.7144 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/0.2411, allocations: 49.31 kB / 0.7145 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.2412, allocations: 67.95 kB / 0.7146 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2426, allocations: 0.6981 MB / 0.7152 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2426, allocations: 3.984 kB / 0.7152 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-05/0.2427, allocations: 27.98 kB / 0.7153 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.2427, allocations: 16 kB / 0.7153 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.2439, allocations: 0.5126 MB / 0.7158 GB, free: 3.754 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.004262/0.2482, allocations: 3.083 MB / 0.7188 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2492, allocations: 374.7 kB / 0.7191 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.2497, allocations: 188.7 kB / 0.7193 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/0.2515, allocations: 1.493 MB / 0.7208 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005705/0.2521, allocations: 240.5 kB / 0.721 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.2521, allocations: 0 / 0.721 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001486/0.2536, allocations: 0.5517 MB / 0.7216 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.2537, allocations: 55.41 kB / 0.7216 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.2549, allocations: 0.9034 MB / 0.7225 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.2549, allocations: 37.7 kB / 0.7225 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.2554, allocations: 496.5 kB / 0.723 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2555, allocations: 103.1 kB / 0.7231 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.2557, allocations: 134.1 kB / 0.7232 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2559, allocations: 334 kB / 0.7235 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.2564, allocations: 198.9 kB / 0.7237 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/0.2571, allocations: 394.4 kB / 0.7241 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.2582, allocations: 0.599 MB / 0.7247 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2582, allocations: 0 / 0.7247 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00148/0.2597, allocations: 0.715 MB / 0.7254 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.2598, allocations: 37.83 kB / 0.7254 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2598, allocations: 8 kB / 0.7254 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.2598, allocations: 11.94 kB / 0.7254 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.2603, allocations: 123.8 kB / 0.7256 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.2603, allocations: 15.94 kB / 0.7256 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.2609, allocations: 80.16 kB / 0.7257 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.261, allocations: 35.97 kB / 0.7257 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006933/0.2617, allocations: 401.8 kB / 0.7261 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005643/0.2623, allocations: 366.4 kB / 0.7264 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009252/0.2632, allocations: 0.5502 MB / 0.727 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/0.2632, allocations: 4 kB / 0.727 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001221/0.2644, allocations: 0.6549 MB / 0.7276 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.2645, allocations: 39.61 kB / 0.7276 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2645, allocations: 4 kB / 0.7276 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.2645, allocations: 8 kB / 0.7277 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.2649, allocations: 123.8 kB / 0.7278 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.2649, allocations: 11.94 kB / 0.7278 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.2654, allocations: 64.31 kB / 0.7278 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.2655, allocations: 27.98 kB / 0.7279 GB, free: 6.547 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.0001904/0.2657, allocations: 216.1 kB / 0.7281 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2658, allocations: 95.39 kB / 0.7282 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.2672, allocations: 0.5832 MB / 0.7287 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.2672, allocations: 7.938 kB / 0.7287 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2672, allocations: 4 kB / 0.7287 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/0.2683, allocations: 0.6426 MB / 0.7294 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.2705, allocations: 1.364 MB / 0.7307 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2705, allocations: 3.938 kB / 0.7307 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.2709, allocations: 76.08 kB / 0.7308 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2709, allocations: 7.922 kB / 0.7308 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.2709, allocations: 12 kB / 0.7308 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2709, allocations: 0 / 0.7308 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.2709, allocations: 4 kB / 0.7308 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.2725, allocations: 0.8397 MB / 0.7316 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.2728, allocations: 228.3 kB / 0.7318 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.273, allocations: 11.94 kB / 0.7319 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.2734, allocations: 19.97 kB / 0.7319 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/0.2735, allocations: 36.23 kB / 0.7319 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.2735, allocations: 12 kB / 0.7319 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008037/0.2743, allocations: 0.6219 MB / 0.7325 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2743, allocations: 4.062 kB / 0.7325 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001332/0.2757, allocations: 0.5106 MB / 0.733 GB, free: 1.047 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.002677/0.2784, allocations: 1.647 MB / 0.7346 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.2802, allocations: 0.8513 MB / 0.7355 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2802, allocations: 3.938 kB / 0.7355 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.2807, allocations: 224.9 kB / 0.7357 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.2828, allocations: 0.494 MB / 0.7362 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.2934, allocations: 6.729 MB / 0.7427 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/0.2942, allocations: 1.048 MB / 0.7438 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008691/0.2951, allocations: 231.1 kB / 0.744 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/0.2957, allocations: 371.3 kB / 0.7443 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.2957, allocations: 3.938 kB / 0.7443 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06562/0.3613, allocations: 27.43 MB / 0.7711 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.649/10.01, allocations: 10.19 kB / 0.7711 GB, free: 10.05 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)