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.000834/0.000834, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007025/0.007025, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8729/0.8729, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 12 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 82.31 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.2815/0.4419, allocations: 29.63 MB / 0.617 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009631/0.4515, allocations: 10.14 MB / 0.6269 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.4526, allocations: 41.03 kB / 0.6269 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.4541, allocations: 0.5913 MB / 0.6275 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.4568, allocations: 1.355 MB / 0.6288 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.4594, allocations: 1.173 MB / 0.63 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003414/0.4628, allocations: 3.833 MB / 0.6337 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.4639, allocations: 0.7617 MB / 0.6345 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.4653, allocations: 0.96 MB / 0.6354 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007594/0.4661, allocations: 0.7628 MB / 0.6362 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.539e-05/0.4662, allocations: 37.94 kB / 0.6362 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.4676, allocations: 0.7336 MB / 0.6369 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.4679, allocations: 271.1 kB / 0.6372 GB, free: 26.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.4683, allocations: 0.5377 MB / 0.6377 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.4697, allocations: 1.795 MB / 0.6395 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4697, allocations: 0 / 0.6395 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4697, allocations: 2.75 kB / 0.6395 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.4698, allocations: 0 / 0.6395 GB, free: 26.11 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.001715/0.4715, allocations: 1.302 MB / 0.6407 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.4715, allocations: 11 kB / 0.6407 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.396e-05/0.4716, allocations: 102.2 kB / 0.6408 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.4725, allocations: 213.9 kB / 0.641 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.4738, allocations: 0.9944 MB / 0.642 GB, free: 24.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.4739, allocations: 50.31 kB / 0.6421 GB, free: 24.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/0.474, allocations: 71.91 kB / 0.6421 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.4751, allocations: 0.7103 MB / 0.6428 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.4751, allocations: 6.125 kB / 0.6428 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/0.4752, allocations: 21.97 kB / 0.6428 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.4752, allocations: 12.62 kB / 0.6429 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.4762, allocations: 0.5376 MB / 0.6434 GB, free: 23.88 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.003003/0.4792, allocations: 3.093 MB / 0.6464 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007965/0.48, allocations: 400.6 kB / 0.6468 GB, free: 21.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.4804, allocations: 199 kB / 0.647 GB, free: 21.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.4818, allocations: 1.505 MB / 0.6484 GB, free: 20.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/0.4822, allocations: 245.4 kB / 0.6487 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001793/0.4824, allocations: 55.81 kB / 0.6487 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.404e-06/0.4824, allocations: 0 / 0.6487 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001206/0.4837, allocations: 0.5742 MB / 0.6493 GB, free: 19.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.4837, allocations: 58 kB / 0.6493 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008262/0.4845, allocations: 0.8934 MB / 0.6502 GB, free: 19.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.4846, allocations: 32.27 kB / 0.6503 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.4848, allocations: 491.2 kB / 0.6507 GB, free: 19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.4849, allocations: 116.5 kB / 0.6508 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.485, allocations: 47.97 kB / 0.6509 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.485, allocations: 325.8 kB / 0.6512 GB, free: 18.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.4855, allocations: 204.3 kB / 0.6514 GB, free: 18.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.486, allocations: 407.2 kB / 0.6518 GB, free: 18.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009384/0.487, allocations: 0.6107 MB / 0.6524 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.487, allocations: 0.8125 kB / 0.6524 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001319/0.4883, allocations: 0.723 MB / 0.6531 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.4884, allocations: 293 kB / 0.6534 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4885, allocations: 6.719 kB / 0.6534 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4885, allocations: 8.781 kB / 0.6534 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.489, allocations: 126.7 kB / 0.6535 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.489, allocations: 20.58 kB / 0.6535 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.4896, allocations: 47.06 kB / 0.6536 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.4897, allocations: 30.59 kB / 0.6536 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.615e-06/0.4897, allocations: 10.25 kB / 0.6536 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009951/0.4907, allocations: 0.572 MB / 0.6542 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4907, allocations: 7.125 kB / 0.6542 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.4907, allocations: 8.375 kB / 0.6542 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.4911, allocations: 126.9 kB / 0.6543 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.4912, allocations: 17.62 kB / 0.6543 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.4916, allocations: 57.72 kB / 0.6544 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.4917, allocations: 31.31 kB / 0.6544 GB, free: 16.8 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 (64): * Single equations (assignments): 62 * 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.0003744/0.4921, allocations: 360 kB / 0.6547 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4922, allocations: 90.22 kB / 0.6548 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.4936, allocations: 0.6056 MB / 0.6554 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.4936, allocations: 4.109 kB / 0.6554 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4936, allocations: 1.344 kB / 0.6554 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009862/0.4946, allocations: 0.6685 MB / 0.6561 GB, free: 15.77 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 postOpt removeSimpleEquations (simulation): time 0.002259/0.4969, allocations: 1.431 MB / 0.6575 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4969, allocations: 1.469 kB / 0.6575 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.4972, allocations: 81.83 kB / 0.6575 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4973, allocations: 2.438 kB / 0.6575 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.4973, allocations: 15.77 kB / 0.6576 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4973, allocations: 7.375 kB / 0.6576 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4973, allocations: 1.156 kB / 0.6576 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.4988, allocations: 0.8588 MB / 0.6584 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.4991, allocations: 221 kB / 0.6586 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4992, allocations: 8.781 kB / 0.6586 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.4997, allocations: 47.11 kB / 0.6587 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.4998, allocations: 31.08 kB / 0.6587 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.4998, allocations: 20.22 kB / 0.6587 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007551/0.5006, allocations: 0.6082 MB / 0.6593 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5006, allocations: 1.125 kB / 0.6593 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001406/0.502, allocations: 0.5079 MB / 0.6598 GB, free: 13.94 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 (39): * Single equations (assignments): 33 * 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.002363/0.5044, allocations: 1.65 MB / 0.6614 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.506, allocations: 0.8772 MB / 0.6623 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5061, allocations: 1.5 kB / 0.6623 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000487/0.5065, allocations: 231 kB / 0.6625 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.5087, allocations: 480.6 kB / 0.663 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.5193, allocations: 7.33 MB / 0.6701 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.5198, allocations: 1.054 MB / 0.6711 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009179/0.5208, allocations: 229.9 kB / 0.6714 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.5212, allocations: 366.6 kB / 0.6717 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.5212, allocations: 0 / 0.6717 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8487/1.37, allocations: 26.16 MB / 0.6973 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/1.37, allocations: 233.5 kB / 0.6975 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.784, allocations: 7.938 kB / 0.6975 GB, free: 11.04 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)