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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 196.8 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8534/0.8534, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001186, allocations: 61.44 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1282, allocations: 80.93 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.2474/0.3756, allocations: 30.56 MB / 0.6143 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0091/0.3847, allocations: 10.22 MB / 0.6243 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007405/0.3855, allocations: 45 kB / 0.6243 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.3868, allocations: 0.6775 MB / 0.625 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.3888, allocations: 1.463 MB / 0.6264 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.3908, allocations: 1.3 MB / 0.6277 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.3926, allocations: 2.882 MB / 0.6305 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007752/0.3934, allocations: 0.9281 MB / 0.6314 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.3948, allocations: 1.133 MB / 0.6325 GB, free: 27.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005732/0.3954, allocations: 0.771 MB / 0.6333 GB, free: 27.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3955, allocations: 96.12 kB / 0.6334 GB, free: 27.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.3965, allocations: 0.7935 MB / 0.6342 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.3968, allocations: 322.8 kB / 0.6345 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.3971, allocations: 0.5789 MB / 0.635 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.3985, allocations: 1.875 MB / 0.6369 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3985, allocations: 0 / 0.6369 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3985, allocations: 2.406 kB / 0.6369 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.3985, allocations: 4 kB / 0.6369 GB, free: 25.61 MB / 0.4981 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.001679/0.4002, allocations: 1.484 MB / 0.6383 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.4002, allocations: 9 kB / 0.6383 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.785e-05/0.4003, allocations: 116.4 kB / 0.6384 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008525/0.4012, allocations: 196.9 kB / 0.6386 GB, free: 24.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.4024, allocations: 0.9666 MB / 0.6396 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.4024, allocations: 55.31 kB / 0.6396 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.4025, allocations: 70.14 kB / 0.6397 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/0.4035, allocations: 0.7031 MB / 0.6404 GB, free: 23.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.4035, allocations: 3.906 kB / 0.6404 GB, free: 23.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.4035, allocations: 27.94 kB / 0.6404 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.4036, allocations: 14.75 kB / 0.6404 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009397/0.4045, allocations: 0.5137 MB / 0.6409 GB, free: 23.27 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002743/0.4073, allocations: 3.093 MB / 0.6439 GB, free: 21.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.408, allocations: 379.5 kB / 0.6443 GB, free: 20.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.4084, allocations: 187.3 kB / 0.6445 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.4096, allocations: 1.499 MB / 0.6459 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004432/0.4101, allocations: 234.6 kB / 0.6462 GB, free: 19.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.4101, allocations: 6.844 kB / 0.6462 GB, free: 19.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001162/0.4112, allocations: 0.5323 MB / 0.6467 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.4113, allocations: 68.72 kB / 0.6468 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007715/0.4121, allocations: 0.8977 MB / 0.6476 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.4121, allocations: 36.11 kB / 0.6477 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.4124, allocations: 494.8 kB / 0.6481 GB, free: 18.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.4124, allocations: 99.67 kB / 0.6482 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.4126, allocations: 126.9 kB / 0.6484 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.4126, allocations: 325.5 kB / 0.6487 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.413, allocations: 200 kB / 0.6489 GB, free: 17.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.4135, allocations: 404.8 kB / 0.6492 GB, free: 17.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000877/0.4144, allocations: 0.5858 MB / 0.6498 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.4144, allocations: 1.375 kB / 0.6498 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001231/0.4157, allocations: 0.7064 MB / 0.6505 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.4157, allocations: 37.67 kB / 0.6505 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4157, allocations: 5.875 kB / 0.6505 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.4157, allocations: 9.375 kB / 0.6506 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.4162, allocations: 128.5 kB / 0.6507 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.4162, allocations: 19.81 kB / 0.6507 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.4167, allocations: 76.7 kB / 0.6508 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.4168, allocations: 31.62 kB / 0.6508 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005456/0.4173, allocations: 401.6 kB / 0.6512 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004143/0.4178, allocations: 377.5 kB / 0.6515 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007075/0.4185, allocations: 0.5491 MB / 0.6521 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.4185, allocations: 1.25 kB / 0.6521 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001044/0.4195, allocations: 0.6528 MB / 0.6527 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4196, allocations: 42.06 kB / 0.6528 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.4196, allocations: 5.875 kB / 0.6528 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.4196, allocations: 8.375 kB / 0.6528 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.42, allocations: 127.8 kB / 0.6529 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.42, allocations: 15.08 kB / 0.6529 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.4205, allocations: 59.89 kB / 0.653 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.4205, allocations: 31.22 kB / 0.653 GB, free: 15.46 MB / 0.4981 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.4206, allocations: 210.7 kB / 0.6532 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.4207, allocations: 92.97 kB / 0.6533 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.4219, allocations: 0.5806 MB / 0.6539 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.422, allocations: 5.219 kB / 0.6539 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.422, allocations: 3.938 kB / 0.6539 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008659/0.4228, allocations: 0.6434 MB / 0.6545 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.4247, allocations: 1.349 MB / 0.6558 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4247, allocations: 1.875 kB / 0.6558 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.4251, allocations: 78.19 kB / 0.6559 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4251, allocations: 11.05 kB / 0.6559 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.4251, allocations: 12.09 kB / 0.6559 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4251, allocations: 3.031 kB / 0.6559 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4251, allocations: 1 kB / 0.6559 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.4265, allocations: 0.8367 MB / 0.6567 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.4267, allocations: 225.2 kB / 0.6569 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4269, allocations: 8.141 kB / 0.6569 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.4273, allocations: 20.12 kB / 0.657 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.4273, allocations: 34.88 kB / 0.657 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.4274, allocations: 20.28 kB / 0.657 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000636/0.428, allocations: 0.6227 MB / 0.6576 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.02e-07/0.428, allocations: 0 / 0.6576 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001177/0.4292, allocations: 0.5043 MB / 0.6581 GB, free: 12.76 MB / 0.4981 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002115/0.4313, allocations: 1.657 MB / 0.6597 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.4329, allocations: 0.8727 MB / 0.6606 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4329, allocations: 0 / 0.6606 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.4334, allocations: 224.3 kB / 0.6608 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.4352, allocations: 0.4983 MB / 0.6613 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008506/0.4437, allocations: 6.993 MB / 0.6681 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.4442, allocations: 1.057 MB / 0.6692 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009024/0.4452, allocations: 224.2 kB / 0.6694 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.4456, allocations: 370.5 kB / 0.6697 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/0.4456, allocations: 0 / 0.6697 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.139/3.585, allocations: 27.29 MB / 0.6964 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/19.88, allocations: 3.938 kB / 0.6964 GB, free: 9.316 MB / 0.5137 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/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)