Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.PumpExample,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_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.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 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.001465/0.001465, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.305/1.305, 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/package.mo): time 0.743/0.743, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 64.53 kB / 0.5019 GB, free: 3.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 80.2 MB / 0.5802 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02681/0.3545, allocations: 30.68 MB / 0.6101 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.367, allocations: 10.27 MB / 0.6202 GB, free: 5.547 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.3681, allocations: 49.25 kB / 0.6202 GB, free: 5.527 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.3696, allocations: 0.693 MB / 0.6209 GB, free: 4.977 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.3724, allocations: 1.482 MB / 0.6223 GB, free: 3.805 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.3749, allocations: 1.336 MB / 0.6236 GB, free: 2.836 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.3779, allocations: 2.963 MB / 0.6265 GB, free: 1.125 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.379, allocations: 0.9662 MB / 0.6275 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.381, allocations: 1.173 MB / 0.6286 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008251/0.3819, allocations: 0.8089 MB / 0.6294 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.382, allocations: 104 kB / 0.6295 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3834, allocations: 0.8036 MB / 0.6303 GB, free: 14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.3838, allocations: 354.9 kB / 0.6306 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005102/0.3843, allocations: 0.6064 MB / 0.6312 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.3861, allocations: 1.94 MB / 0.6331 GB, free: 11.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3862, allocations: 0 / 0.6331 GB, free: 11.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3862, allocations: 3.938 kB / 0.6331 GB, free: 11.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3862, allocations: 4 kB / 0.6331 GB, free: 11.09 MB / 478.1 MB 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.002067/0.3883, allocations: 1.534 MB / 0.6346 GB, free: 9.496 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3883, allocations: 12.03 kB / 0.6346 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.3884, allocations: 110.6 kB / 0.6347 GB, free: 9.367 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.3893, allocations: 207.3 kB / 0.6349 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.3908, allocations: 1.019 MB / 0.6359 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.3909, allocations: 57.31 kB / 0.636 GB, free: 8.047 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.391, allocations: 68 kB / 0.6361 GB, free: 7.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.3921, allocations: 0.7254 MB / 0.6368 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3921, allocations: 0 / 0.6368 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.3922, allocations: 31.98 kB / 0.6368 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.3922, allocations: 21.31 kB / 0.6368 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.3932, allocations: 0.536 MB / 0.6373 GB, free: 6.637 MB / 478.1 MB 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.003463/0.3967, allocations: 3.183 MB / 0.6404 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009901/0.3977, allocations: 447.9 kB / 0.6409 GB, free: 2.828 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.3981, allocations: 196.8 kB / 0.6411 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/0.3997, allocations: 1.54 MB / 0.6426 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/0.4001, allocations: 251.1 kB / 0.6428 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.4002, allocations: 0 / 0.6428 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.001189/0.4014, allocations: 0.5804 MB / 0.6434 GB, free: 76 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.4014, allocations: 55.41 kB / 0.6434 GB, free: 8 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009806/0.4024, allocations: 0.9412 MB / 0.6443 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.4024, allocations: 37.7 kB / 0.6444 GB, free: 15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.4028, allocations: 0.4996 MB / 0.6449 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.4029, allocations: 126.2 kB / 0.645 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.4031, allocations: 130.1 kB / 0.6451 GB, free: 14.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4032, allocations: 330 kB / 0.6454 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.4036, allocations: 207.1 kB / 0.6456 GB, free: 13.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.4042, allocations: 419.8 kB / 0.646 GB, free: 13.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009044/0.4051, allocations: 0.5969 MB / 0.6466 GB, free: 12.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4051, allocations: 4 kB / 0.6466 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001185/0.4063, allocations: 0.7155 MB / 0.6473 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4063, allocations: 8 kB / 0.6473 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4063, allocations: 4.625 kB / 0.6473 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4063, allocations: 8 kB / 0.6473 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.4069, allocations: 155.7 kB / 0.6475 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4069, allocations: 8 kB / 0.6475 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.4074, allocations: 75.91 kB / 0.6476 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.4074, allocations: 39.92 kB / 0.6476 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005432/0.408, allocations: 413.1 kB / 0.648 GB, free: 11.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004405/0.4084, allocations: 387.8 kB / 0.6484 GB, free: 10.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007387/0.4092, allocations: 0.5538 MB / 0.6489 GB, free: 10 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.369e-06/0.4092, allocations: 4 kB / 0.6489 GB, free: 9.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001/0.4102, allocations: 0.656 MB / 0.6495 GB, free: 9.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.4102, allocations: 8 kB / 0.6496 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4102, allocations: 7.938 kB / 0.6496 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.4102, allocations: 8.688 kB / 0.6496 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.4107, allocations: 147.8 kB / 0.6497 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.4107, allocations: 11.98 kB / 0.6497 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.4112, allocations: 56.23 kB / 0.6498 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.4112, allocations: 31.98 kB / 0.6498 GB, free: 9.066 MB / 494.1 MB 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.0001477/0.4114, allocations: 227.8 kB / 0.65 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.4115, allocations: 98.78 kB / 0.6501 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.4127, allocations: 0.6202 MB / 0.6507 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.4127, allocations: 4 kB / 0.6507 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.4127, allocations: 0 / 0.6507 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008789/0.4136, allocations: 0.6742 MB / 0.6514 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.4156, allocations: 1.44 MB / 0.6528 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4156, allocations: 4 kB / 0.6528 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.416, allocations: 83.88 kB / 0.6529 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4161, allocations: 0 / 0.6529 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.4161, allocations: 19.98 kB / 0.6529 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4161, allocations: 0 / 0.6529 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4161, allocations: 8.125 kB / 0.6529 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.4176, allocations: 0.8831 MB / 0.6538 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.4179, allocations: 227.7 kB / 0.654 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.418, allocations: 8 kB / 0.654 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.4184, allocations: 27.97 kB / 0.654 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.4185, allocations: 39.84 kB / 0.6541 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.4185, allocations: 19.98 kB / 0.6541 GB, free: 4.496 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007477/0.4193, allocations: 0.6467 MB / 0.6547 GB, free: 3.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4193, allocations: 3.938 kB / 0.6547 GB, free: 3.836 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001264/0.4206, allocations: 0.5223 MB / 0.6552 GB, free: 3.312 MB / 494.1 MB 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.002425/0.423, allocations: 1.677 MB / 0.6569 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.4246, allocations: 0.8094 MB / 0.6576 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4246, allocations: 0 / 0.6576 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.4251, allocations: 236.3 kB / 0.6579 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.4272, allocations: 0.4917 MB / 0.6584 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.4379, allocations: 7.393 MB / 0.6656 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.4386, allocations: 1.076 MB / 0.6666 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009768/0.4396, allocations: 251.4 kB / 0.6669 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.4401, allocations: 403.3 kB / 0.6672 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.4401, allocations: 0 / 0.6672 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.258/0.6981, allocations: 28.1 MB / 0.6947 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.832/9.53, allocations: 7.172 kB / 0.6947 GB, free: 10.83 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)