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.005025/0.005025, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001249/0.001249, allocations: 193.5 kB / 16.68 MB, free: 6.363 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9471/0.9471, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 67.89 kB / 0.5857 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4438, allocations: 81.02 MB / 0.6649 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.03188/0.4757, allocations: 30.58 MB / 0.6947 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01767/0.4934, allocations: 10.23 MB / 0.7047 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.4958, allocations: 43.97 kB / 0.7047 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.4981, allocations: 0.6894 MB / 0.7054 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004358/0.5024, allocations: 1.457 MB / 0.7068 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.5058, allocations: 1.314 MB / 0.7081 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004679/0.5105, allocations: 2.88 MB / 0.7109 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.5121, allocations: 0.9254 MB / 0.7118 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.5151, allocations: 1.141 MB / 0.713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.5165, allocations: 0.7778 MB / 0.7137 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.5167, allocations: 99.94 kB / 0.7138 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.5187, allocations: 0.8035 MB / 0.7146 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.5191, allocations: 331 kB / 0.7149 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006962/0.5198, allocations: 0.5714 MB / 0.7155 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.5229, allocations: 1.905 MB / 0.7173 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5229, allocations: 3.984 kB / 0.7173 GB, free: 10.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5229, allocations: 0 / 0.7173 GB, free: 10.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.5229, allocations: 0 / 0.7173 GB, free: 10.99 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.002705/0.5256, allocations: 1.534 MB / 0.7188 GB, free: 9.398 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.5257, allocations: 8.031 kB / 0.7188 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.5258, allocations: 106.7 kB / 0.7189 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009786/0.5268, allocations: 212 kB / 0.7191 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.5286, allocations: 1.004 MB / 0.7201 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.5287, allocations: 49.31 kB / 0.7202 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.5288, allocations: 64 kB / 0.7202 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.5302, allocations: 0.702 MB / 0.7209 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.5302, allocations: 4 kB / 0.7209 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.5303, allocations: 20 kB / 0.7209 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.5303, allocations: 16 kB / 0.721 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.5315, allocations: 0.5203 MB / 0.7215 GB, free: 6.621 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.004389/0.5359, allocations: 3.094 MB / 0.7245 GB, free: 3.348 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009742/0.5369, allocations: 366.7 kB / 0.7248 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.5373, allocations: 190.1 kB / 0.725 GB, free: 2.793 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/0.5393, allocations: 1.489 MB / 0.7265 GB, free: 1.129 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005967/0.5399, allocations: 247.5 kB / 0.7267 GB, free: 0.875 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.5399, allocations: 0 / 0.7267 GB, free: 0.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.00154/0.5415, allocations: 0.5475 MB / 0.7272 GB, free: 328 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.5416, allocations: 55.41 kB / 0.7273 GB, free: 260 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.5429, allocations: 0.9034 MB / 0.7282 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.5429, allocations: 37.7 kB / 0.7282 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.5435, allocations: 0.4887 MB / 0.7287 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.5436, allocations: 115 kB / 0.7288 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.5438, allocations: 122.1 kB / 0.7289 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.544, allocations: 334 kB / 0.7292 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.5445, allocations: 195 kB / 0.7294 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000705/0.5452, allocations: 406.1 kB / 0.7298 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.5464, allocations: 0.5991 MB / 0.7304 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5464, allocations: 3.938 kB / 0.7304 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001473/0.5479, allocations: 0.703 MB / 0.7311 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.548, allocations: 42.41 kB / 0.7311 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.548, allocations: 4 kB / 0.7311 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.548, allocations: 15.94 kB / 0.7311 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.5485, allocations: 127.8 kB / 0.7313 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.5486, allocations: 11.94 kB / 0.7313 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.5491, allocations: 72.19 kB / 0.7313 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.5492, allocations: 31.98 kB / 0.7314 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000804/0.55, allocations: 401.1 kB / 0.7318 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005692/0.5506, allocations: 371.1 kB / 0.7321 GB, free: 11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000921/0.5515, allocations: 0.5503 MB / 0.7326 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.5516, allocations: 0 / 0.7326 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001273/0.5528, allocations: 0.6586 MB / 0.7333 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.5529, allocations: 33.7 kB / 0.7333 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5529, allocations: 8.031 kB / 0.7333 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5529, allocations: 12 kB / 0.7333 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.5534, allocations: 115.8 kB / 0.7335 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.5534, allocations: 24.02 kB / 0.7335 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.5539, allocations: 60.36 kB / 0.7335 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.554, allocations: 31.98 kB / 0.7336 GB, free: 9.402 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.0002203/0.5542, allocations: 216.7 kB / 0.7338 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.5543, allocations: 95.39 kB / 0.7339 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.5557, allocations: 0.5806 MB / 0.7344 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.5558, allocations: 11.92 kB / 0.7344 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5558, allocations: 0 / 0.7344 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/0.5569, allocations: 0.6502 MB / 0.7351 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.5593, allocations: 1.36 MB / 0.7364 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.5593, allocations: 3.984 kB / 0.7364 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.5597, allocations: 75.89 kB / 0.7365 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.5597, allocations: 8.125 kB / 0.7365 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.5598, allocations: 11.98 kB / 0.7365 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5598, allocations: 0 / 0.7365 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5598, allocations: 4 kB / 0.7365 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.5615, allocations: 0.8306 MB / 0.7373 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.5619, allocations: 228.3 kB / 0.7375 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.562, allocations: 12.06 kB / 0.7375 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.5624, allocations: 27.91 kB / 0.7376 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.5625, allocations: 28.25 kB / 0.7376 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.5625, allocations: 15.98 kB / 0.7376 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009197/0.5634, allocations: 0.6219 MB / 0.7382 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5635, allocations: 0 / 0.7382 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001491/0.565, allocations: 0.5106 MB / 0.7387 GB, free: 3.914 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.002872/0.5678, allocations: 1.658 MB / 0.7403 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.5698, allocations: 0.8478 MB / 0.7412 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5698, allocations: 0 / 0.7412 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.5703, allocations: 223.8 kB / 0.7414 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.5725, allocations: 0.4989 MB / 0.7419 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.5836, allocations: 6.731 MB / 0.7484 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007575/0.5844, allocations: 1.052 MB / 0.7495 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008934/0.5853, allocations: 223.7 kB / 0.7497 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/0.5858, allocations: 363.3 kB / 0.75 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of SimCode: time 7.02e-07/0.5858, allocations: 0 / 0.75 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06632/0.6521, allocations: 27.43 MB / 0.7768 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.89/10.54, allocations: 7.984 kB / 0.7768 GB, free: 12.88 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 & /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)