Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",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.00135/0.00135, allocations: 173.5 kB / 7.646 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.7865/0.7865, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.456/1.456, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0008346/0.0008345, allocations: 102 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.686e-05/1.69e-05, allocations: 4 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4749, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.792/1.267, allocations: 359.3 MB / 0.9848 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.267, allocations: 88.45 kB / 0.9848 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.036/2.303, allocations: 293.4 MB / 1.271 GB, free: 65.58 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/2.304, allocations: 4 kB / 1.271 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001317/2.304, allocations: 31.94 kB / 1.271 GB, free: 65.54 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002227/2.306, allocations: 1.238 MB / 1.273 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/2.306, allocations: 12.03 kB / 1.273 GB, free: 64.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008013/2.307, allocations: 182.5 kB / 1.273 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/2.319, allocations: 6.417 MB / 1.279 GB, free: 57.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/2.319, allocations: 23.98 kB / 1.279 GB, free: 57.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.903e-05/2.32, allocations: 40 kB / 1.279 GB, free: 57.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008542/2.32, allocations: 454.5 kB / 1.28 GB, free: 57.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/2.321, allocations: 0.5785 MB / 1.28 GB, free: 56.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/2.321, allocations: 4 kB / 1.28 GB, free: 56.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/2.321, allocations: 0 / 1.28 GB, free: 56.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/2.321, allocations: 20 kB / 1.28 GB, free: 56.41 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.00348/2.325, allocations: 2.639 MB / 1.283 GB, free: 53.65 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/2.325, allocations: 351.6 kB / 1.283 GB, free: 53.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/2.326, allocations: 153.4 kB / 1.283 GB, free: 53.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/2.327, allocations: 1.482 MB / 1.285 GB, free: 51.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/2.328, allocations: 213.5 kB / 1.285 GB, free: 51.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002269/2.328, allocations: 47.64 kB / 1.285 GB, free: 51.22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.905e-06/2.328, allocations: 0 / 1.285 GB, free: 51.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001129/2.329, allocations: 436.2 kB / 1.285 GB, free: 50.79 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/2.329, allocations: 59.39 kB / 1.285 GB, free: 50.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007731/2.33, allocations: 0.6728 MB / 1.286 GB, free: 50.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/2.33, allocations: 29.7 kB / 1.286 GB, free: 50 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/2.33, allocations: 491.3 kB / 1.287 GB, free: 49.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/2.33, allocations: 110.5 kB / 1.287 GB, free: 49.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/2.33, allocations: 0 / 1.287 GB, free: 49.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/2.33, allocations: 330 kB / 1.287 GB, free: 49.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/2.331, allocations: 145.1 kB / 1.287 GB, free: 48.94 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/2.331, allocations: 373 kB / 1.287 GB, free: 48.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/2.332, allocations: 253.2 kB / 1.288 GB, free: 48.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/2.332, allocations: 7.953 kB / 1.288 GB, free: 48.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001161/2.333, allocations: 0.6028 MB / 1.288 GB, free: 47.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004263/2.333, allocations: 2.305 MB / 1.291 GB, free: 45.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/2.333, allocations: 4 kB / 1.291 GB, free: 45.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/2.333, allocations: 16 kB / 1.291 GB, free: 45.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/2.334, allocations: 131.8 kB / 1.291 GB, free: 44.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/2.334, allocations: 15.98 kB / 1.291 GB, free: 44.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/2.334, allocations: 55.78 kB / 1.291 GB, free: 44.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/2.334, allocations: 39.97 kB / 1.291 GB, free: 44.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/2.334, allocations: 7.938 kB / 1.291 GB, free: 44.85 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000996/2.336, allocations: 472.4 kB / 1.291 GB, free: 44.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/2.336, allocations: 4 kB / 1.291 GB, free: 44.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/2.336, allocations: 12.78 kB / 1.291 GB, free: 44.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/2.336, allocations: 135.8 kB / 1.291 GB, free: 44.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/2.336, allocations: 11.94 kB / 1.291 GB, free: 44.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/2.337, allocations: 39.97 kB / 1.291 GB, free: 44.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/2.337, allocations: 31.98 kB / 1.291 GB, free: 44.16 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 1 * 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.0001293/2.337, allocations: 128.7 kB / 1.292 GB, free: 44.02 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008262/2.338, allocations: 404.3 kB / 1.292 GB, free: 43.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/2.338, allocations: 82.97 kB / 1.292 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/2.339, allocations: 0.5299 MB / 1.293 GB, free: 43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/2.339, allocations: 8 kB / 1.293 GB, free: 42.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/2.339, allocations: 0 / 1.293 GB, free: 42.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006602/2.339, allocations: 0.6003 MB / 1.293 GB, free: 42.32 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.001823/2.341, allocations: 1.294 MB / 1.294 GB, free: 40.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/2.341, allocations: 4.125 kB / 1.294 GB, free: 40.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/2.342, allocations: 83.88 kB / 1.294 GB, free: 40.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/2.342, allocations: 4 kB / 1.295 GB, free: 40.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/2.342, allocations: 11.98 kB / 1.295 GB, free: 40.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/2.342, allocations: 3.953 kB / 1.295 GB, free: 40.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/2.342, allocations: 7.984 kB / 1.295 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/2.343, allocations: 0.807 MB / 1.295 GB, free: 39.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/2.343, allocations: 215.9 kB / 1.296 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/2.343, allocations: 7.984 kB / 1.296 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/2.344, allocations: 39.95 kB / 1.296 GB, free: 39.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/2.344, allocations: 31.95 kB / 1.296 GB, free: 39.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/2.344, allocations: 19.98 kB / 1.296 GB, free: 39.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006031/2.344, allocations: 0.5186 MB / 1.296 GB, free: 39.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.344, allocations: 0 / 1.296 GB, free: 39.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001882/2.346, allocations: 0.5651 MB / 1.297 GB, free: 38.58 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.00264/2.349, allocations: 2.259 MB / 1.299 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001105/2.35, allocations: 0.7648 MB / 1.3 GB, free: 35.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/2.35, allocations: 4.25 kB / 1.3 GB, free: 35.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/2.35, allocations: 191.8 kB / 1.3 GB, free: 35.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/2.352, allocations: 411.2 kB / 1.3 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/2.355, allocations: 1.423 MB / 1.302 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/2.355, allocations: 1.073 MB / 1.303 GB, free: 32.31 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001166/2.357, allocations: 307 kB / 1.303 GB, free: 32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/2.357, allocations: 359.3 kB / 1.303 GB, free: 31.65 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/2.357, allocations: 7.938 kB / 1.303 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05502/2.412, allocations: 28.1 MB / 1.331 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/2.412, allocations: 167.3 kB / 1.331 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.898/5.31, allocations: 4 kB / 1.331 GB, free: 3.574 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)