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.00556/0.00556, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001416/0.001416, allocations: 188.4 kB / 16.67 MB, free: 5.918 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9838/0.9838, allocations: 135.6 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4201, allocations: 81.02 MB / 0.6649 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.0319/0.4521, allocations: 30.57 MB / 0.6947 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01625/0.4684, allocations: 10.22 MB / 0.7047 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.4713, allocations: 45.16 kB / 0.7047 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.4739, allocations: 0.6967 MB / 0.7054 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.479, allocations: 1.452 MB / 0.7068 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.4826, allocations: 1.301 MB / 0.7081 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004729/0.4874, allocations: 2.89 MB / 0.7109 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.4891, allocations: 0.9216 MB / 0.7118 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.4922, allocations: 1.142 MB / 0.713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.4938, allocations: 0.7739 MB / 0.7137 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.4941, allocations: 96 kB / 0.7138 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.4963, allocations: 0.7958 MB / 0.7146 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005088/0.4968, allocations: 327 kB / 0.7149 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.4979, allocations: 0.583 MB / 0.7155 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.5014, allocations: 1.901 MB / 0.7173 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5014, allocations: 0 / 0.7173 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5014, allocations: 4 kB / 0.7173 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.5015, allocations: 0 / 0.7173 GB, free: 11.05 MB / 0.545 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.002669/0.5041, allocations: 1.534 MB / 0.7188 GB, free: 9.453 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5042, allocations: 16.03 kB / 0.7188 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.5043, allocations: 102.7 kB / 0.7189 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009558/0.5053, allocations: 204 kB / 0.7191 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.5072, allocations: 1.016 MB / 0.7201 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.5073, allocations: 53.25 kB / 0.7202 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.5074, allocations: 64 kB / 0.7202 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5088, allocations: 0.7098 MB / 0.7209 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.5089, allocations: 0 / 0.7209 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/0.5089, allocations: 24 kB / 0.7209 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.509, allocations: 16 kB / 0.721 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.5102, allocations: 0.5165 MB / 0.7215 GB, free: 6.66 MB / 0.545 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.004854/0.5151, allocations: 3.094 MB / 0.7245 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009884/0.5161, allocations: 370.7 kB / 0.7248 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.5165, allocations: 194 kB / 0.725 GB, free: 2.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/0.5187, allocations: 1.485 MB / 0.7265 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006098/0.5194, allocations: 251.4 kB / 0.7267 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.5194, allocations: 0 / 0.7267 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001503/0.5209, allocations: 0.5398 MB / 0.7272 GB, free: 368 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.521, allocations: 63.34 kB / 0.7273 GB, free: 292 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.5222, allocations: 0.8995 MB / 0.7282 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.5222, allocations: 33.7 kB / 0.7282 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/0.5227, allocations: 0.4927 MB / 0.7287 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.5229, allocations: 111 kB / 0.7288 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.5231, allocations: 130.1 kB / 0.7289 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5232, allocations: 326 kB / 0.7292 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.5237, allocations: 198.9 kB / 0.7294 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.5244, allocations: 402.1 kB / 0.7298 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.5256, allocations: 0.599 MB / 0.7304 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5256, allocations: 0 / 0.7304 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001521/0.5271, allocations: 0.7153 MB / 0.7311 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.5272, allocations: 33.7 kB / 0.7311 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5272, allocations: 4 kB / 0.7311 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.5273, allocations: 11.94 kB / 0.7311 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.5278, allocations: 127.8 kB / 0.7313 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.5278, allocations: 11.98 kB / 0.7313 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.5284, allocations: 76.39 kB / 0.7313 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.5285, allocations: 31.92 kB / 0.7314 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007272/0.5292, allocations: 401.1 kB / 0.7318 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005802/0.5298, allocations: 375.1 kB / 0.7321 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009328/0.5308, allocations: 0.5424 MB / 0.7326 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.5308, allocations: 0 / 0.7326 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001363/0.5321, allocations: 0.6623 MB / 0.7333 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.5322, allocations: 41.69 kB / 0.7333 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5322, allocations: 8 kB / 0.7333 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5322, allocations: 8 kB / 0.7333 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.5327, allocations: 123.8 kB / 0.7335 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.5327, allocations: 11.94 kB / 0.7335 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.5332, allocations: 60.61 kB / 0.7335 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.5333, allocations: 31.94 kB / 0.7336 GB, free: 9.441 MB / 0.5606 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.0002296/0.5335, allocations: 216.7 kB / 0.7338 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.5336, allocations: 95.38 kB / 0.7339 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.5351, allocations: 0.5808 MB / 0.7344 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5351, allocations: 7.938 kB / 0.7344 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5351, allocations: 3.938 kB / 0.7344 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.5362, allocations: 0.6424 MB / 0.7351 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.5386, allocations: 1.364 MB / 0.7364 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5386, allocations: 4.125 kB / 0.7364 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.539, allocations: 75.94 kB / 0.7365 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.539, allocations: 4 kB / 0.7365 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.5391, allocations: 15.92 kB / 0.7365 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.5391, allocations: 4 kB / 0.7365 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5391, allocations: 3.984 kB / 0.7365 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.5407, allocations: 0.8346 MB / 0.7373 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.541, allocations: 220.3 kB / 0.7375 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.5411, allocations: 11.98 kB / 0.7375 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.5415, allocations: 31.86 kB / 0.7376 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.5416, allocations: 32.23 kB / 0.7376 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.5417, allocations: 15.98 kB / 0.7376 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008487/0.5425, allocations: 0.6258 MB / 0.7382 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5425, allocations: 0 / 0.7382 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001415/0.544, allocations: 0.5067 MB / 0.7387 GB, free: 3.949 MB / 0.5606 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.002847/0.5468, allocations: 1.656 MB / 0.7403 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.5487, allocations: 0.8393 MB / 0.7412 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5488, allocations: 0 / 0.7412 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.5493, allocations: 233.2 kB / 0.7414 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.5513, allocations: 495.7 kB / 0.7419 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.5622, allocations: 6.731 MB / 0.7484 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/0.563, allocations: 1.052 MB / 0.7495 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008998/0.5639, allocations: 235.6 kB / 0.7497 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/0.5644, allocations: 367.3 kB / 0.75 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.5644, allocations: 0 / 0.75 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06183/0.6263, allocations: 27.43 MB / 0.7768 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.96/10.59, allocations: 9.609 kB / 0.7768 GB, free: 12.91 MB / 0.6075 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)