Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_dev_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.00142/0.00142, allocations: 177 kB / 7.649 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.9641/0.9641, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.63/1.63, allocations: 221.5 MB / 395.4 MB, free: 10.74 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.0009002/0.0009002, allocations: 101.3 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.886e-05, allocations: 4.219 kB / 0.5535 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4638, allocations: 82.3 MB / 0.6339 GB, free: 40.67 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8137/1.278, allocations: 359.3 MB / 0.9848 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.278, allocations: 86.89 kB / 0.9848 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.9418/2.22, allocations: 293.4 MB / 1.271 GB, free: 65.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.854e-06/2.22, allocations: 4 kB / 1.271 GB, free: 65.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001287/2.22, allocations: 28 kB / 1.271 GB, free: 65.32 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.002259/2.222, allocations: 1.242 MB / 1.273 GB, free: 64.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/2.222, allocations: 12.03 kB / 1.273 GB, free: 64.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008818/2.223, allocations: 186.5 kB / 1.273 GB, free: 63.83 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/2.236, allocations: 6.417 MB / 1.279 GB, free: 57.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/2.236, allocations: 24 kB / 1.279 GB, free: 57.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-05/2.236, allocations: 40 kB / 1.279 GB, free: 57.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008125/2.237, allocations: 450.5 kB / 1.28 GB, free: 56.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/2.238, allocations: 0.5785 MB / 1.28 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/2.238, allocations: 0 / 1.28 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/2.238, allocations: 4 kB / 1.28 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/2.238, allocations: 16 kB / 1.28 GB, free: 56.18 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.00359/2.241, allocations: 2.636 MB / 1.283 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/2.242, allocations: 359.5 kB / 1.283 GB, free: 53.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/2.242, allocations: 157.3 kB / 1.283 GB, free: 52.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/2.244, allocations: 1.486 MB / 1.285 GB, free: 51.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/2.244, allocations: 209.5 kB / 1.285 GB, free: 51.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000227/2.244, allocations: 39.67 kB / 1.285 GB, free: 51 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/2.244, allocations: 0 / 1.285 GB, free: 51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001077/2.246, allocations: 444.1 kB / 1.285 GB, free: 50.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/2.246, allocations: 55.41 kB / 1.285 GB, free: 50.49 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/2.246, allocations: 0.6767 MB / 1.286 GB, free: 49.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/2.246, allocations: 25.7 kB / 1.286 GB, free: 49.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/2.247, allocations: 499.4 kB / 1.287 GB, free: 49.28 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/2.247, allocations: 106.5 kB / 1.287 GB, free: 49.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/2.247, allocations: 0 / 1.287 GB, free: 49.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/2.247, allocations: 330 kB / 1.287 GB, free: 48.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/2.247, allocations: 149.1 kB / 1.287 GB, free: 48.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/2.247, allocations: 373 kB / 1.287 GB, free: 48.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/2.248, allocations: 249.2 kB / 1.288 GB, free: 47.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/2.248, allocations: 7.953 kB / 1.288 GB, free: 47.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001157/2.249, allocations: 0.6108 MB / 1.288 GB, free: 47.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004225/2.25, allocations: 2.297 MB / 1.291 GB, free: 44.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/2.25, allocations: 4 kB / 1.291 GB, free: 44.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/2.25, allocations: 12 kB / 1.291 GB, free: 44.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/2.25, allocations: 139.8 kB / 1.291 GB, free: 44.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/2.25, allocations: 19.92 kB / 1.291 GB, free: 44.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006321/2.251, allocations: 47.81 kB / 1.291 GB, free: 44.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/2.251, allocations: 35.97 kB / 1.291 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/2.251, allocations: 5.406 kB / 1.291 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001004/2.252, allocations: 476.5 kB / 1.291 GB, free: 44.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/2.252, allocations: 4 kB / 1.291 GB, free: 44.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/2.252, allocations: 12 kB / 1.291 GB, free: 44.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/2.253, allocations: 124.5 kB / 1.291 GB, free: 44.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/2.253, allocations: 19.92 kB / 1.291 GB, free: 44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/2.253, allocations: 39.91 kB / 1.291 GB, free: 43.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/2.253, allocations: 35.98 kB / 1.291 GB, free: 43.93 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.0001492/2.253, allocations: 136.7 kB / 1.292 GB, free: 43.79 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008271/2.254, allocations: 404.3 kB / 1.292 GB, free: 43.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/2.254, allocations: 82.97 kB / 1.292 GB, free: 43.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/2.255, allocations: 0.5261 MB / 1.293 GB, free: 42.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/2.255, allocations: 8 kB / 1.293 GB, free: 42.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/2.255, allocations: 0 / 1.293 GB, free: 42.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006672/2.256, allocations: 0.6003 MB / 1.293 GB, free: 42.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 postOpt removeSimpleEquations (simulation): time 0.002237/2.258, allocations: 1.294 MB / 1.294 GB, free: 40.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/2.258, allocations: 0 / 1.294 GB, free: 40.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/2.259, allocations: 84 kB / 1.294 GB, free: 40.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/2.259, allocations: 4 kB / 1.294 GB, free: 40.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/2.259, allocations: 8 kB / 1.295 GB, free: 40.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/2.259, allocations: 11.95 kB / 1.295 GB, free: 40.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/2.259, allocations: 7.922 kB / 1.295 GB, free: 40.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/2.26, allocations: 0.8071 MB / 1.295 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/2.26, allocations: 211.8 kB / 1.296 GB, free: 39.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/2.26, allocations: 8 kB / 1.296 GB, free: 39.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/2.261, allocations: 40.02 kB / 1.296 GB, free: 39.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/2.261, allocations: 39.94 kB / 1.296 GB, free: 39.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/2.261, allocations: 23.92 kB / 1.296 GB, free: 39.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006269/2.262, allocations: 0.5185 MB / 1.296 GB, free: 38.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/2.262, allocations: 0 / 1.296 GB, free: 38.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001849/2.264, allocations: 0.569 MB / 1.297 GB, free: 38.33 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.002497/2.266, allocations: 2.261 MB / 1.299 GB, free: 36.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001043/2.267, allocations: 0.7647 MB / 1.3 GB, free: 35.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/2.267, allocations: 0 / 1.3 GB, free: 35.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/2.267, allocations: 200.3 kB / 1.3 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/2.269, allocations: 390.9 kB / 1.3 GB, free: 34.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/2.272, allocations: 1.416 MB / 1.302 GB, free: 33.19 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/2.273, allocations: 1.081 MB / 1.303 GB, free: 32.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001165/2.274, allocations: 322.8 kB / 1.303 GB, free: 31.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/2.274, allocations: 351.3 kB / 1.303 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/2.274, allocations: 0 / 1.303 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05115/2.325, allocations: 28.11 MB / 1.331 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/2.326, allocations: 173.7 kB / 1.331 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.919/5.244, allocations: 0 / 1.331 GB, free: 3.34 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)