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.00162/0.00162, allocations: 173.9 kB / 7.648 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.8632/0.8632, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.443/1.443, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009818/0.0009817, allocations: 100.1 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.596e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4574, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.805/1.262, allocations: 359.8 MB / 0.9853 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.263, allocations: 89.52 kB / 0.9854 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.9967/2.259, allocations: 295.8 MB / 1.274 GB, free: 62.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.145e-06/2.259, allocations: 0 / 1.274 GB, free: 62.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001375/2.26, allocations: 35.92 kB / 1.274 GB, free: 62.35 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.002346/2.262, allocations: 1.256 MB / 1.275 GB, free: 61.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/2.262, allocations: 8.031 kB / 1.276 GB, free: 61.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009289/2.263, allocations: 194.4 kB / 1.276 GB, free: 60.85 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/2.276, allocations: 6.469 MB / 1.282 GB, free: 54.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/2.276, allocations: 20 kB / 1.282 GB, free: 54.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/2.276, allocations: 44 kB / 1.282 GB, free: 54.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009055/2.277, allocations: 482.5 kB / 1.283 GB, free: 53.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009992/2.278, allocations: 0.6103 MB / 1.283 GB, free: 53.11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/2.278, allocations: 0 / 1.283 GB, free: 53.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/2.278, allocations: 0 / 1.283 GB, free: 53.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/2.279, allocations: 25.3 kB / 1.283 GB, free: 53.09 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.004342/2.283, allocations: 2.775 MB / 1.286 GB, free: 50.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/2.284, allocations: 488.9 kB / 1.286 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/2.284, allocations: 184.8 kB / 1.286 GB, free: 49.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001814/2.286, allocations: 1.535 MB / 1.288 GB, free: 47.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/2.286, allocations: 232.6 kB / 1.288 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002202/2.286, allocations: 35.67 kB / 1.288 GB, free: 47.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 3.306e-06/2.286, allocations: 0 / 1.288 GB, free: 47.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.001168/2.288, allocations: 495.6 kB / 1.289 GB, free: 47.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/2.288, allocations: 63.39 kB / 1.289 GB, free: 46.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008022/2.288, allocations: 0.7023 MB / 1.289 GB, free: 46.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/2.288, allocations: 33.64 kB / 1.29 GB, free: 46.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/2.289, allocations: 0.4994 MB / 1.29 GB, free: 45.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/2.289, allocations: 130 kB / 1.29 GB, free: 45.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/2.289, allocations: 0 / 1.29 GB, free: 45.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/2.289, allocations: 341.9 kB / 1.29 GB, free: 45.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/2.289, allocations: 165.5 kB / 1.291 GB, free: 45.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/2.289, allocations: 404.6 kB / 1.291 GB, free: 44.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008002/2.29, allocations: 276.6 kB / 1.291 GB, free: 44.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/2.29, allocations: 0 / 1.291 GB, free: 44.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001207/2.291, allocations: 0.6631 MB / 1.292 GB, free: 43.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000448/2.292, allocations: 2.368 MB / 1.294 GB, free: 41.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/2.292, allocations: 4 kB / 1.294 GB, free: 41.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/2.292, allocations: 16 kB / 1.294 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/2.293, allocations: 147.8 kB / 1.294 GB, free: 40.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/2.293, allocations: 23.91 kB / 1.294 GB, free: 40.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/2.293, allocations: 39.91 kB / 1.294 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/2.293, allocations: 43.97 kB / 1.294 GB, free: 40.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/2.293, allocations: 4 kB / 1.294 GB, free: 40.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001051/2.294, allocations: 0.5022 MB / 1.295 GB, free: 40.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/2.294, allocations: 8 kB / 1.295 GB, free: 40.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/2.294, allocations: 8 kB / 1.295 GB, free: 40.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/2.295, allocations: 147.8 kB / 1.295 GB, free: 40.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/2.295, allocations: 11.94 kB / 1.295 GB, free: 40.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/2.295, allocations: 52.16 kB / 1.295 GB, free: 40.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/2.296, allocations: 32 kB / 1.295 GB, free: 40.04 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.0001436/2.296, allocations: 128.7 kB / 1.295 GB, free: 39.91 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009477/2.297, allocations: 459.9 kB / 1.296 GB, free: 39.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/2.297, allocations: 90.78 kB / 1.296 GB, free: 39.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/2.298, allocations: 0.5873 MB / 1.296 GB, free: 38.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/2.298, allocations: 11.95 kB / 1.296 GB, free: 38.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/2.298, allocations: 0 / 1.296 GB, free: 38.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007192/2.299, allocations: 0.6416 MB / 1.297 GB, free: 38.05 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.002016/2.301, allocations: 1.4 MB / 1.298 GB, free: 36.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/2.301, allocations: 7.938 kB / 1.298 GB, free: 36.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/2.301, allocations: 87.88 kB / 1.299 GB, free: 36.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/2.301, allocations: 4.125 kB / 1.299 GB, free: 36.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/2.301, allocations: 15.98 kB / 1.299 GB, free: 36.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/2.301, allocations: 7.984 kB / 1.299 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/2.301, allocations: 4 kB / 1.299 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/2.302, allocations: 0.8976 MB / 1.299 GB, free: 35.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/2.303, allocations: 223.8 kB / 1.3 GB, free: 35.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/2.303, allocations: 4 kB / 1.3 GB, free: 35.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/2.303, allocations: 47.8 kB / 1.3 GB, free: 35.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/2.303, allocations: 35.91 kB / 1.3 GB, free: 35.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/2.304, allocations: 19.98 kB / 1.3 GB, free: 35.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006275/2.304, allocations: 0.5394 MB / 1.3 GB, free: 34.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.304, allocations: 4 kB / 1.3 GB, free: 34.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001792/2.306, allocations: 0.5574 MB / 1.301 GB, free: 34.05 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.002578/2.309, allocations: 2.348 MB / 1.303 GB, free: 31.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001101/2.31, allocations: 0.7378 MB / 1.304 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.31, allocations: 0 / 1.304 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/2.31, allocations: 212.2 kB / 1.304 GB, free: 30.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/2.312, allocations: 422.8 kB / 1.304 GB, free: 30.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/2.315, allocations: 1.588 MB / 1.306 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/2.316, allocations: 1.105 MB / 1.307 GB, free: 27.53 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001234/2.317, allocations: 343.4 kB / 1.307 GB, free: 27.19 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/2.317, allocations: 383.3 kB / 1.308 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/2.317, allocations: 0 / 1.308 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4571/2.774, allocations: 29.23 MB / 1.336 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/2.775, allocations: 150.1 kB / 1.336 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.907/5.682, allocations: 2.156 kB / 1.336 GB, free: 141.2 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)