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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7525/0.7525, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 400.4 MB, free: 5.871 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 93.47 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.917e-05/4.919e-05, allocations: 7.109 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1688, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.4, allocations: 360.5 MB / 0.9925 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/1.4, allocations: 88.98 kB / 0.9926 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9976/2.398, allocations: 297.9 MB / 1.284 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/2.398, allocations: 3 kB / 1.284 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000196/2.398, allocations: 32.17 kB / 1.284 GB, free: 147.3 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.003069/2.401, allocations: 1.257 MB / 1.285 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/2.401, allocations: 7.906 kB / 1.285 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002672/2.402, allocations: 109.6 kB / 1.285 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/2.403, allocations: 203 kB / 1.285 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/2.418, allocations: 6.487 MB / 1.291 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.936e-05/2.418, allocations: 54.83 kB / 1.291 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/2.418, allocations: 72.16 kB / 1.292 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/2.42, allocations: 0.693 MB / 1.292 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/2.42, allocations: 3.719 kB / 1.292 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/2.42, allocations: 26.06 kB / 1.292 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/2.42, allocations: 31.5 kB / 1.292 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/2.421, allocations: 0.4956 MB / 1.293 GB, free: 146.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 preOpt removeSimpleEquations (simulation): time 0.004935/2.426, allocations: 2.918 MB / 1.296 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/2.427, allocations: 461.1 kB / 1.296 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/2.427, allocations: 192.3 kB / 1.296 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/2.429, allocations: 1.579 MB / 1.298 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/2.43, allocations: 237.7 kB / 1.298 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003747/2.43, allocations: 66.05 kB / 1.298 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 3.006e-06/2.43, allocations: 0 / 1.298 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.0007688/2.431, allocations: 445.5 kB / 1.299 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/2.431, allocations: 58.67 kB / 1.299 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/2.432, allocations: 0.8157 MB / 1.299 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/2.432, allocations: 38.83 kB / 1.299 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/2.433, allocations: 0.4903 MB / 1.3 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/2.433, allocations: 142.1 kB / 1.3 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/2.433, allocations: 13.62 kB / 1.3 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/2.433, allocations: 333.6 kB / 1.3 GB, free: 143 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/2.433, allocations: 165.4 kB / 1.3 GB, free: 143 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/2.433, allocations: 416.9 kB / 1.301 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/2.434, allocations: 231.9 kB / 1.301 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/2.434, allocations: 3.281 kB / 1.301 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009524/2.435, allocations: 0.6569 MB / 1.302 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005026/2.435, allocations: 2.356 MB / 1.304 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/2.435, allocations: 3.75 kB / 1.304 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/2.435, allocations: 14.16 kB / 1.304 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/2.436, allocations: 153.2 kB / 1.304 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/2.436, allocations: 12.78 kB / 1.304 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007067/2.437, allocations: 60.17 kB / 1.304 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/2.437, allocations: 37.08 kB / 1.304 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/2.437, allocations: 7.5 kB / 1.304 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007856/2.438, allocations: 0.5299 MB / 1.305 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/2.438, allocations: 10.53 kB / 1.305 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/2.438, allocations: 11.83 kB / 1.305 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/2.438, allocations: 149.4 kB / 1.305 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/2.438, allocations: 11.16 kB / 1.305 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/2.439, allocations: 58.95 kB / 1.305 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/2.439, allocations: 33.39 kB / 1.305 GB, free: 140.1 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.0001511/2.439, allocations: 147.7 kB / 1.305 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/2.439, allocations: 99.88 kB / 1.305 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/2.44, allocations: 0.615 MB / 1.306 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/2.44, allocations: 11.67 kB / 1.306 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/2.44, allocations: 0 / 1.306 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006079/2.441, allocations: 0.6581 MB / 1.307 GB, free: 139.5 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.002036/2.443, allocations: 1.509 MB / 1.308 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/2.443, allocations: 0 / 1.308 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/2.443, allocations: 93.69 kB / 1.308 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/2.443, allocations: 6.062 kB / 1.308 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/2.443, allocations: 18.61 kB / 1.308 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/2.443, allocations: 0 / 1.308 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/2.443, allocations: 3.969 kB / 1.308 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/2.445, allocations: 0.91 MB / 1.309 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/2.445, allocations: 241.6 kB / 1.309 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/2.445, allocations: 11.09 kB / 1.309 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/2.446, allocations: 50.28 kB / 1.309 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/2.446, allocations: 33.16 kB / 1.309 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/2.446, allocations: 22.34 kB / 1.309 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007581/2.447, allocations: 0.632 MB / 1.31 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/2.447, allocations: 3.25 kB / 1.31 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001809/2.448, allocations: 0.6002 MB / 1.311 GB, free: 138.5 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.002683/2.451, allocations: 2.38 MB / 1.313 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001246/2.452, allocations: 0.781 MB / 1.314 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/2.452, allocations: 0 / 1.314 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/2.453, allocations: 230.9 kB / 1.314 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/2.455, allocations: 497.2 kB / 1.314 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/2.458, allocations: 1.63 MB / 1.316 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/2.459, allocations: 1.103 MB / 1.317 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001436/2.46, allocations: 363.8 kB / 1.317 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/2.461, allocations: 382 kB / 1.318 GB, free: 136 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/2.461, allocations: 0 / 1.318 GB, free: 136 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/2.519, allocations: 36.15 MB / 1.353 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/2.519, allocations: 180.5 kB / 1.353 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/5.644, allocations: 0 / 1.353 GB, free: 134.3 MB / 0.6823 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/linux/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)