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.001192/0.001192, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8649/0.8649, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 65.2 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1587, allocations: 80.92 MB / 0.5845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.3117/0.4705, allocations: 30.65 MB / 0.6144 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.4818, allocations: 10.28 MB / 0.6244 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.4834, allocations: 52.25 kB / 0.6245 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.4854, allocations: 0.6834 MB / 0.6251 GB, free: 31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.4895, allocations: 1.489 MB / 0.6266 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.4925, allocations: 1.319 MB / 0.6279 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003236/0.4957, allocations: 2.978 MB / 0.6308 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.497, allocations: 0.9694 MB / 0.6317 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.4992, allocations: 1.167 MB / 0.6329 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009062/0.5001, allocations: 0.8135 MB / 0.6337 GB, free: 26.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.5003, allocations: 101.2 kB / 0.6338 GB, free: 26.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.5021, allocations: 0.8025 MB / 0.6346 GB, free: 26.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.5024, allocations: 344.4 kB / 0.6349 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.503, allocations: 0.6177 MB / 0.6355 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.5052, allocations: 1.944 MB / 0.6374 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5052, allocations: 0 / 0.6374 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5052, allocations: 0 / 0.6374 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.5052, allocations: 4 kB / 0.6374 GB, free: 25.19 MB / 0.4981 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.001965/0.5072, allocations: 1.541 MB / 0.6389 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5072, allocations: 12.91 kB / 0.6389 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.5074, allocations: 110.4 kB / 0.639 GB, free: 24.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000948/0.5083, allocations: 204.6 kB / 0.6392 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.5098, allocations: 1.016 MB / 0.6402 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.5099, allocations: 58.62 kB / 0.6403 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-05/0.51, allocations: 70.47 kB / 0.6403 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5111, allocations: 0.7254 MB / 0.641 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.5111, allocations: 2.625 kB / 0.641 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.5112, allocations: 32.56 kB / 0.6411 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.5112, allocations: 23.69 kB / 0.6411 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.5122, allocations: 0.5312 MB / 0.6416 GB, free: 22.77 MB / 0.4981 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.003256/0.5155, allocations: 3.178 MB / 0.6447 GB, free: 20.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.5165, allocations: 441.2 kB / 0.6451 GB, free: 20.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.5169, allocations: 200.2 kB / 0.6453 GB, free: 20.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/0.5185, allocations: 1.54 MB / 0.6468 GB, free: 19.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000494/0.519, allocations: 252.4 kB / 0.6471 GB, free: 18.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.964e-06/0.519, allocations: 0 / 0.6471 GB, free: 18.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001273/0.5203, allocations: 0.5855 MB / 0.6476 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.5203, allocations: 54.28 kB / 0.6477 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009166/0.5212, allocations: 0.9403 MB / 0.6486 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.5213, allocations: 36.58 kB / 0.6486 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.5216, allocations: 0.4995 MB / 0.6491 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/0.5217, allocations: 128.2 kB / 0.6493 GB, free: 17.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.5219, allocations: 131.6 kB / 0.6494 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.5219, allocations: 329.9 kB / 0.6497 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.5224, allocations: 205.2 kB / 0.6499 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.5229, allocations: 417.8 kB / 0.6503 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.5239, allocations: 0.5977 MB / 0.6509 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.5239, allocations: 3.219 kB / 0.6509 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001307/0.5252, allocations: 0.7138 MB / 0.6516 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5252, allocations: 8.625 kB / 0.6516 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5252, allocations: 6.344 kB / 0.6516 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.5253, allocations: 9.469 kB / 0.6516 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.5258, allocations: 147 kB / 0.6517 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.5259, allocations: 12.81 kB / 0.6517 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.5264, allocations: 72.02 kB / 0.6518 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.5265, allocations: 32.17 kB / 0.6518 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005949/0.5271, allocations: 415 kB / 0.6522 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004221/0.5275, allocations: 393.2 kB / 0.6526 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007447/0.5283, allocations: 0.5578 MB / 0.6532 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/0.5283, allocations: 1.812 kB / 0.6532 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001105/0.5294, allocations: 0.6525 MB / 0.6538 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.5294, allocations: 10.5 kB / 0.6538 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5294, allocations: 7.188 kB / 0.6538 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5294, allocations: 9.188 kB / 0.6538 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.5299, allocations: 153.2 kB / 0.654 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.53, allocations: 12.44 kB / 0.654 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.5305, allocations: 59.91 kB / 0.654 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.5305, allocations: 31.58 kB / 0.6541 GB, free: 14.84 MB / 0.4981 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.0001358/0.5307, allocations: 217 kB / 0.6543 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5308, allocations: 99.28 kB / 0.6544 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.5321, allocations: 0.6172 MB / 0.655 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.5322, allocations: 9.266 kB / 0.655 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5322, allocations: 1.891 kB / 0.655 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009134/0.5331, allocations: 0.6743 MB / 0.6556 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.5352, allocations: 1.436 MB / 0.657 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5352, allocations: 1.219 kB / 0.6571 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.5356, allocations: 83.42 kB / 0.6571 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.5357, allocations: 3.688 kB / 0.6571 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.5357, allocations: 16.08 kB / 0.6571 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.5357, allocations: 3.359 kB / 0.6572 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5357, allocations: 5.25 kB / 0.6572 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.5372, allocations: 0.8826 MB / 0.658 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.5374, allocations: 229.5 kB / 0.6582 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.5376, allocations: 9.438 kB / 0.6582 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.538, allocations: 24.22 kB / 0.6583 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.5381, allocations: 41.86 kB / 0.6583 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.5381, allocations: 20.16 kB / 0.6583 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00078/0.5389, allocations: 0.6461 MB / 0.659 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5389, allocations: 0 / 0.659 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001379/0.5403, allocations: 0.5216 MB / 0.6595 GB, free: 12 MB / 0.4981 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.002236/0.5426, allocations: 1.682 MB / 0.6611 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.5443, allocations: 0.8118 MB / 0.6619 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5443, allocations: 0.9062 kB / 0.6619 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.5448, allocations: 229.5 kB / 0.6621 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.5469, allocations: 0.5002 MB / 0.6626 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00925/0.5561, allocations: 7.398 MB / 0.6698 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.5567, allocations: 1.073 MB / 0.6709 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001088/0.5578, allocations: 260 kB / 0.6711 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.5583, allocations: 403.4 kB / 0.6715 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.5583, allocations: 0 / 0.6715 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.09/5.648, allocations: 28.11 MB / 0.699 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/21.94, allocations: 11.72 kB / 0.699 GB, free: 6.715 MB / 0.5137 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)