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.002545/0.002545, allocations: 174.7 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.7331/0.7331, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.652/1.652, allocations: 221.3 MB / 400.4 MB, free: 5.777 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.0009946/0.0009945, allocations: 108.8 kB / 483.3 MB, free: 5.793 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.045e-05, allocations: 2.844 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1649, allocations: 82.3 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.409, allocations: 360.5 MB / 0.9925 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/1.409, allocations: 88.02 kB / 0.9926 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9366/2.346, allocations: 297.9 MB / 1.284 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.503e-06/2.346, allocations: 0 / 1.284 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001374/2.346, allocations: 34.25 kB / 1.284 GB, free: 147.1 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.002125/2.348, allocations: 1.26 MB / 1.285 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/2.348, allocations: 11.84 kB / 1.285 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/2.348, allocations: 105.7 kB / 1.285 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/2.349, allocations: 200.2 kB / 1.285 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/2.362, allocations: 6.496 MB / 1.291 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/2.362, allocations: 55.12 kB / 1.291 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/2.362, allocations: 69.39 kB / 1.292 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/2.363, allocations: 0.6898 MB / 1.292 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/2.363, allocations: 7.125 kB / 1.292 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/2.363, allocations: 25.53 kB / 1.292 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/2.363, allocations: 29.41 kB / 1.292 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/2.364, allocations: 0.4906 MB / 1.293 GB, free: 145.9 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.003769/2.368, allocations: 2.919 MB / 1.296 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/2.369, allocations: 462.2 kB / 1.296 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/2.369, allocations: 197 kB / 1.296 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/2.371, allocations: 1.57 MB / 1.298 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/2.371, allocations: 245 kB / 1.298 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002484/2.371, allocations: 59.28 kB / 1.298 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 2.605e-06/2.371, allocations: 0 / 1.298 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.0007033/2.372, allocations: 446.2 kB / 1.298 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/2.372, allocations: 65.91 kB / 1.299 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008923/2.373, allocations: 0.8116 MB / 1.299 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/2.373, allocations: 37.3 kB / 1.299 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/2.374, allocations: 0.4941 MB / 1.3 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-05/2.374, allocations: 146.1 kB / 1.3 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/2.374, allocations: 7.625 kB / 1.3 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/2.374, allocations: 335.7 kB / 1.3 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/2.374, allocations: 164 kB / 1.3 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/2.374, allocations: 415.2 kB / 1.301 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/2.375, allocations: 235.2 kB / 1.301 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/2.375, allocations: 0 / 1.301 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008729/2.376, allocations: 0.6551 MB / 1.302 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004207/2.376, allocations: 2.356 MB / 1.304 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/2.376, allocations: 4.312 kB / 1.304 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/2.376, allocations: 12.75 kB / 1.304 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/2.377, allocations: 162.6 kB / 1.304 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/2.377, allocations: 15.56 kB / 1.304 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/2.377, allocations: 56.2 kB / 1.304 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/2.377, allocations: 37.05 kB / 1.304 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/2.377, allocations: 5.062 kB / 1.304 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007587/2.378, allocations: 0.5276 MB / 1.305 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/2.378, allocations: 3.375 kB / 1.305 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/2.378, allocations: 14.61 kB / 1.305 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/2.379, allocations: 148.8 kB / 1.305 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/2.379, allocations: 15.47 kB / 1.305 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/2.379, allocations: 55.66 kB / 1.305 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/2.379, allocations: 38.33 kB / 1.305 GB, free: 139.9 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.0001225/2.379, allocations: 141.2 kB / 1.305 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/2.379, allocations: 102.1 kB / 1.305 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/2.381, allocations: 0.6232 MB / 1.306 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/2.381, allocations: 7.828 kB / 1.306 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.381, allocations: 7.719 kB / 1.306 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005893/2.381, allocations: 0.6491 MB / 1.307 GB, free: 139.3 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.001836/2.383, allocations: 1.513 MB / 1.308 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/2.383, allocations: 0 / 1.308 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/2.383, allocations: 92.5 kB / 1.308 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/2.383, allocations: 3.75 kB / 1.308 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/2.383, allocations: 18.11 kB / 1.308 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/2.384, allocations: 3.469 kB / 1.308 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/2.384, allocations: 0 / 1.308 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009786/2.384, allocations: 0.9178 MB / 1.309 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/2.385, allocations: 230.1 kB / 1.309 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/2.385, allocations: 17.7 kB / 1.309 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/2.385, allocations: 52.36 kB / 1.309 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/2.385, allocations: 34.77 kB / 1.309 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/2.386, allocations: 18.12 kB / 1.309 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006946/2.386, allocations: 0.6323 MB / 1.31 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/2.386, allocations: 0 / 1.31 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001616/2.388, allocations: 0.5928 MB / 1.311 GB, free: 138.3 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.002372/2.39, allocations: 2.4 MB / 1.313 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001161/2.391, allocations: 0.7817 MB / 1.314 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/2.391, allocations: 0 / 1.314 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/2.392, allocations: 233.2 kB / 1.314 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/2.394, allocations: 477 kB / 1.314 GB, free: 137 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/2.396, allocations: 1.641 MB / 1.316 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/2.397, allocations: 1.109 MB / 1.317 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001286/2.398, allocations: 367 kB / 1.317 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/2.399, allocations: 382.8 kB / 1.318 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/2.399, allocations: 0 / 1.318 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06414/2.463, allocations: 36.14 MB / 1.353 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/2.463, allocations: 169.5 kB / 1.353 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/5.529, allocations: 0 / 1.353 GB, free: 134.1 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)