Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.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.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",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.004502/0.004502, allocations: 97.91 kB / 15.73 MB, free: 6.055 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.001197/0.001197, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.818/0.818, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 66.77 kB / 0.5857 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1952, allocations: 81.03 MB / 0.6649 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03641/0.2317, allocations: 30.67 MB / 0.6948 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.2474, allocations: 10.27 MB / 0.7048 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.2492, allocations: 43.75 kB / 0.7049 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.2515, allocations: 0.7029 MB / 0.7056 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004233/0.2557, allocations: 1.488 MB / 0.707 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.2592, allocations: 1.338 MB / 0.7083 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00477/0.264, allocations: 2.974 MB / 0.7112 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.2657, allocations: 0.9648 MB / 0.7122 GB, free: 5.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.2687, allocations: 1.166 MB / 0.7133 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.2703, allocations: 0.805 MB / 0.7141 GB, free: 3.043 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003571/0.2706, allocations: 104 kB / 0.7142 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.2728, allocations: 0.8074 MB / 0.715 GB, free: 2.133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000567/0.2734, allocations: 354.9 kB / 0.7153 GB, free: 1.785 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008359/0.2743, allocations: 0.6142 MB / 0.7159 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003219/0.2775, allocations: 1.981 MB / 0.7178 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2775, allocations: 0 / 0.7178 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2775, allocations: 0 / 0.7178 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.218e-05/0.2776, allocations: 4 kB / 0.7179 GB, free: 15.18 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002678/0.2802, allocations: 1.575 MB / 0.7194 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2803, allocations: 9.109 kB / 0.7194 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.2805, allocations: 114.7 kB / 0.7195 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.2815, allocations: 215.9 kB / 0.7197 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.2835, allocations: 1.055 MB / 0.7207 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.2836, allocations: 49.31 kB / 0.7208 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2837, allocations: 75.98 kB / 0.7209 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.2851, allocations: 0.7293 MB / 0.7216 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.2851, allocations: 0 / 0.7216 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.2852, allocations: 28 kB / 0.7216 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/0.2852, allocations: 21.31 kB / 0.7216 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.2864, allocations: 0.5438 MB / 0.7222 GB, free: 10.64 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.004547/0.291, allocations: 3.172 MB / 0.7253 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.2922, allocations: 446.4 kB / 0.7257 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.2926, allocations: 200.7 kB / 0.7259 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002021/0.2947, allocations: 1.536 MB / 0.7274 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005545/0.2952, allocations: 256.7 kB / 0.7276 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/0.2953, allocations: 0 / 0.7276 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001417/0.2967, allocations: 0.5821 MB / 0.7282 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.2967, allocations: 55.41 kB / 0.7282 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.2981, allocations: 0.9374 MB / 0.7292 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.2982, allocations: 37.7 kB / 0.7292 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.2987, allocations: 0.5083 MB / 0.7297 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.2988, allocations: 134.8 kB / 0.7298 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.299, allocations: 138.2 kB / 0.7299 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2992, allocations: 326 kB / 0.7303 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.2996, allocations: 207 kB / 0.7305 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/0.3004, allocations: 411.8 kB / 0.7308 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3014, allocations: 0.6002 MB / 0.7314 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.3015, allocations: 4 kB / 0.7314 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001457/0.3029, allocations: 0.7117 MB / 0.7321 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.303, allocations: 9.562 kB / 0.7321 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.303, allocations: 12 kB / 0.7322 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.303, allocations: 8 kB / 0.7322 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.3036, allocations: 147.7 kB / 0.7323 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.3036, allocations: 11.98 kB / 0.7323 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006015/0.3042, allocations: 76.16 kB / 0.7324 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/0.3043, allocations: 31.98 kB / 0.7324 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007201/0.3051, allocations: 417.2 kB / 0.7328 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005766/0.3056, allocations: 387.9 kB / 0.7332 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009277/0.3066, allocations: 0.5614 MB / 0.7337 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.153e-06/0.3066, allocations: 7.984 kB / 0.7337 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001238/0.3078, allocations: 0.6649 MB / 0.7344 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3079, allocations: 8 kB / 0.7344 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3079, allocations: 8.031 kB / 0.7344 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3079, allocations: 8 kB / 0.7344 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.3084, allocations: 139.8 kB / 0.7345 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3084, allocations: 11.94 kB / 0.7346 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.309, allocations: 60.34 kB / 0.7346 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.309, allocations: 28 kB / 0.7346 GB, free: 13.04 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * 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.0002398/0.3093, allocations: 220.1 kB / 0.7348 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3094, allocations: 111.3 kB / 0.735 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.3109, allocations: 0.6123 MB / 0.7356 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.3109, allocations: 8 kB / 0.7356 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3109, allocations: 3.938 kB / 0.7356 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.312, allocations: 0.6664 MB / 0.7362 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/0.3145, allocations: 1.447 MB / 0.7376 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3145, allocations: 0 / 0.7376 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.315, allocations: 87.88 kB / 0.7377 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.315, allocations: 0 / 0.7377 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.315, allocations: 12 kB / 0.7377 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.315, allocations: 7.922 kB / 0.7377 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.315, allocations: 4.125 kB / 0.7377 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.3167, allocations: 0.88 MB / 0.7386 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.3171, allocations: 228.3 kB / 0.7388 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3172, allocations: 19.92 kB / 0.7388 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.3176, allocations: 19.98 kB / 0.7388 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.3177, allocations: 44.16 kB / 0.7389 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.3177, allocations: 19.98 kB / 0.7389 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009383/0.3187, allocations: 0.6429 MB / 0.7395 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3187, allocations: 0 / 0.7395 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001528/0.3202, allocations: 0.5378 MB / 0.7401 GB, free: 7.277 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.002886/0.3231, allocations: 1.692 MB / 0.7417 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.3249, allocations: 0.7742 MB / 0.7425 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3249, allocations: 4 kB / 0.7425 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.3254, allocations: 236 kB / 0.7427 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.3275, allocations: 0.5017 MB / 0.7432 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3278/0.6553, allocations: 7.054 MB / 0.7501 GB, free: 76.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.6559, allocations: 1.079 MB / 0.7511 GB, free: 75.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009291/0.6569, allocations: 244.9 kB / 0.7514 GB, free: 75.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.6573, allocations: 406.9 kB / 0.7518 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.6574, allocations: 0 / 0.7518 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06623/0.7236, allocations: 28.28 MB / 0.7794 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.901/10.63, allocations: 14.91 kB / 0.7794 GB, free: 65.51 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)