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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8388/0.8388, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 100.3 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.578e-05, allocations: 4 kB / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4615, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8285/1.29, allocations: 359.8 MB / 0.9853 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/1.29, allocations: 94.58 kB / 0.9854 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.014/2.304, allocations: 295.8 MB / 1.274 GB, free: 62.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.262e-06/2.304, allocations: 0 / 1.274 GB, free: 62.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001228/2.305, allocations: 28 kB / 1.274 GB, free: 62.41 MB / 0.6823 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.002136/2.307, allocations: 1.267 MB / 1.276 GB, free: 61.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/2.307, allocations: 8.031 kB / 1.276 GB, free: 61.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/2.308, allocations: 194.4 kB / 1.276 GB, free: 60.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/2.32, allocations: 6.465 MB / 1.282 GB, free: 54.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/2.32, allocations: 20 kB / 1.282 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/2.321, allocations: 44 kB / 1.282 GB, free: 54.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008705/2.321, allocations: 482.5 kB / 1.283 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/2.322, allocations: 0.6064 MB / 1.283 GB, free: 53.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/2.322, allocations: 4 kB / 1.283 GB, free: 53.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/2.322, allocations: 0 / 1.283 GB, free: 53.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/2.322, allocations: 21.31 kB / 1.283 GB, free: 53.15 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003697/2.326, allocations: 2.787 MB / 1.286 GB, free: 50.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/2.327, allocations: 478.7 kB / 1.286 GB, free: 49.76 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/2.327, allocations: 192.8 kB / 1.287 GB, free: 49.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/2.329, allocations: 1.535 MB / 1.288 GB, free: 47.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/2.329, allocations: 232.5 kB / 1.288 GB, free: 47.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002507/2.329, allocations: 39.67 kB / 1.288 GB, free: 47.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 2.364e-06/2.329, allocations: 0 / 1.288 GB, free: 47.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.001102/2.331, allocations: 491.6 kB / 1.289 GB, free: 47.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/2.331, allocations: 55.41 kB / 1.289 GB, free: 47.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/2.331, allocations: 0.7023 MB / 1.289 GB, free: 46.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/2.331, allocations: 33.64 kB / 1.29 GB, free: 46.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/2.332, allocations: 0.4994 MB / 1.29 GB, free: 45.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/2.332, allocations: 134 kB / 1.29 GB, free: 45.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/2.332, allocations: 0 / 1.29 GB, free: 45.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/2.332, allocations: 333.9 kB / 1.29 GB, free: 45.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/2.332, allocations: 169.5 kB / 1.291 GB, free: 45.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/2.333, allocations: 408.6 kB / 1.291 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00076/2.333, allocations: 272.5 kB / 1.291 GB, free: 44.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/2.333, allocations: 4 kB / 1.291 GB, free: 44.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001211/2.335, allocations: 0.6586 MB / 1.292 GB, free: 43.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004092/2.335, allocations: 2.361 MB / 1.294 GB, free: 41.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/2.335, allocations: 4 kB / 1.294 GB, free: 41.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/2.335, allocations: 19.92 kB / 1.294 GB, free: 41.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/2.336, allocations: 151.8 kB / 1.294 GB, free: 40.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/2.336, allocations: 15.92 kB / 1.294 GB, free: 40.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/2.336, allocations: 43.91 kB / 1.294 GB, free: 40.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/2.336, allocations: 35.98 kB / 1.294 GB, free: 40.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/2.336, allocations: 4 kB / 1.294 GB, free: 40.87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/2.337, allocations: 0.5062 MB / 1.295 GB, free: 40.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/2.337, allocations: 12.16 kB / 1.295 GB, free: 40.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/2.338, allocations: 8 kB / 1.295 GB, free: 40.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/2.338, allocations: 147.8 kB / 1.295 GB, free: 40.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/2.338, allocations: 11.94 kB / 1.295 GB, free: 40.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/2.339, allocations: 51.81 kB / 1.295 GB, free: 40.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/2.339, allocations: 28 kB / 1.295 GB, free: 40.11 MB / 0.6823 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.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/2.339, allocations: 120.8 kB / 1.295 GB, free: 39.98 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009117/2.34, allocations: 463.9 kB / 1.296 GB, free: 39.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/2.34, allocations: 94.77 kB / 1.296 GB, free: 39.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/2.341, allocations: 0.599 MB / 1.296 GB, free: 38.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/2.341, allocations: 11.94 kB / 1.296 GB, free: 38.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/2.341, allocations: 4 kB / 1.296 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007007/2.342, allocations: 0.6416 MB / 1.297 GB, free: 38.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.001942/2.344, allocations: 1.4 MB / 1.298 GB, free: 36.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/2.344, allocations: 4 kB / 1.298 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/2.344, allocations: 87.88 kB / 1.299 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/2.344, allocations: 4 kB / 1.299 GB, free: 36.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/2.344, allocations: 11.98 kB / 1.299 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/2.344, allocations: 7.938 kB / 1.299 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.344, allocations: 0 / 1.299 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/2.345, allocations: 0.89 MB / 1.299 GB, free: 35.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/2.346, allocations: 231.8 kB / 1.3 GB, free: 35.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/2.346, allocations: 4 kB / 1.3 GB, free: 35.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/2.346, allocations: 43.86 kB / 1.3 GB, free: 35.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/2.346, allocations: 39.84 kB / 1.3 GB, free: 35.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/2.346, allocations: 23.92 kB / 1.3 GB, free: 35.22 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005885/2.347, allocations: 0.5356 MB / 1.3 GB, free: 34.67 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.347, allocations: 0 / 1.3 GB, free: 34.67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001644/2.349, allocations: 0.5652 MB / 1.301 GB, free: 34.11 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002424/2.351, allocations: 2.351 MB / 1.303 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001088/2.352, allocations: 0.7412 MB / 1.304 GB, free: 30.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/2.352, allocations: 0 / 1.304 GB, free: 30.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/2.352, allocations: 216.2 kB / 1.304 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/2.354, allocations: 416.7 kB / 1.304 GB, free: 30.35 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/2.357, allocations: 1.576 MB / 1.306 GB, free: 28.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/2.358, allocations: 1.101 MB / 1.307 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001237/2.359, allocations: 339.3 kB / 1.307 GB, free: 27.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/2.359, allocations: 387.3 kB / 1.308 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/2.359, allocations: 0 / 1.308 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4726/2.832, allocations: 29.23 MB / 1.336 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/2.832, allocations: 148 kB / 1.336 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/5.871, allocations: 0 / 1.336 GB, free: 141.4 MB / 0.6823 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/linux/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)