Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.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.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",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.004598/0.004598, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001086/0.001087, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9278/0.9278, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4605, allocations: 80.91 MB / 0.6641 GB, free: 7.262 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03039/0.491, allocations: 30.67 MB / 0.6941 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.507, allocations: 10.28 MB / 0.7041 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.5089, allocations: 45.06 kB / 0.7042 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.5109, allocations: 0.6951 MB / 0.7048 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.5152, allocations: 1.519 MB / 0.7063 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.5183, allocations: 1.343 MB / 0.7076 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004162/0.5225, allocations: 2.98 MB / 0.7106 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.5238, allocations: 0.9661 MB / 0.7115 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.5264, allocations: 1.209 MB / 0.7127 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009404/0.5274, allocations: 0.8011 MB / 0.7135 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.5275, allocations: 100 kB / 0.7136 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.5292, allocations: 0.8114 MB / 0.7143 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.5296, allocations: 354.9 kB / 0.7147 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006136/0.5302, allocations: 0.6103 MB / 0.7153 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/0.5327, allocations: 1.979 MB / 0.7172 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5327, allocations: 0 / 0.7172 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5327, allocations: 0 / 0.7172 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.5327, allocations: 0 / 0.7172 GB, free: 11.09 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002324/0.535, allocations: 1.538 MB / 0.7187 GB, free: 9.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5351, allocations: 8.031 kB / 0.7187 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.5352, allocations: 106.7 kB / 0.7188 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009356/0.5362, allocations: 215.2 kB / 0.719 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.5379, allocations: 1.05 MB / 0.7201 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.5379, allocations: 49.31 kB / 0.7201 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.538, allocations: 72 kB / 0.7202 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.5392, allocations: 0.7254 MB / 0.7209 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.5392, allocations: 3.984 kB / 0.7209 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.405e-05/0.5393, allocations: 28 kB / 0.7209 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.5393, allocations: 29.23 kB / 0.7209 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.5404, allocations: 0.536 MB / 0.7215 GB, free: 6.605 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.003793/0.5442, allocations: 3.167 MB / 0.7246 GB, free: 3.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009855/0.5452, allocations: 437.5 kB / 0.725 GB, free: 2.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.5456, allocations: 196.8 kB / 0.7252 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/0.5474, allocations: 1.536 MB / 0.7267 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000507/0.5479, allocations: 252.2 kB / 0.7269 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.913e-06/0.5479, allocations: 0 / 0.7269 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001293/0.5492, allocations: 0.5821 MB / 0.7275 GB, free: 68 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.5493, allocations: 59.39 kB / 0.7275 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.5504, allocations: 0.9373 MB / 0.7284 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.5505, allocations: 33.7 kB / 0.7285 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.5509, allocations: 0.4996 MB / 0.729 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.551, allocations: 126.2 kB / 0.7291 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.5512, allocations: 130.1 kB / 0.7292 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5513, allocations: 333.9 kB / 0.7295 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.5517, allocations: 207.1 kB / 0.7297 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/0.5523, allocations: 423.7 kB / 0.7301 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009132/0.5532, allocations: 0.5931 MB / 0.7307 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5532, allocations: 0 / 0.7307 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001241/0.5545, allocations: 0.708 MB / 0.7314 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5545, allocations: 11.94 kB / 0.7314 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5545, allocations: 8 kB / 0.7314 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.5545, allocations: 8 kB / 0.7314 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.5551, allocations: 148.2 kB / 0.7316 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.5551, allocations: 15.94 kB / 0.7316 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.5557, allocations: 79.91 kB / 0.7317 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.5557, allocations: 28 kB / 0.7317 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006189/0.5564, allocations: 413.2 kB / 0.7321 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004643/0.5568, allocations: 388.3 kB / 0.7324 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007512/0.5576, allocations: 0.5652 MB / 0.733 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.5576, allocations: 0 / 0.733 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001054/0.5587, allocations: 0.66 MB / 0.7336 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5587, allocations: 8 kB / 0.7337 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.5587, allocations: 12 kB / 0.7337 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.5587, allocations: 8 kB / 0.7337 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.5592, allocations: 140.2 kB / 0.7338 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5592, allocations: 15.98 kB / 0.7338 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.5597, allocations: 52.33 kB / 0.7339 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.5598, allocations: 31.98 kB / 0.7339 GB, free: 9.059 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * 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.0001942/0.56, allocations: 220 kB / 0.7341 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.5601, allocations: 98.72 kB / 0.7342 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.5614, allocations: 0.6083 MB / 0.7348 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.5614, allocations: 4 kB / 0.7348 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5614, allocations: 3.938 kB / 0.7348 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008871/0.5623, allocations: 0.6703 MB / 0.7355 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.5645, allocations: 1.447 MB / 0.7369 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.5645, allocations: 4.125 kB / 0.7369 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.5649, allocations: 87.81 kB / 0.737 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.5649, allocations: 4 kB / 0.737 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.565, allocations: 11.98 kB / 0.737 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.565, allocations: 4 kB / 0.737 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.565, allocations: 0 / 0.737 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.5664, allocations: 0.8832 MB / 0.7378 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.5667, allocations: 235.7 kB / 0.7381 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.516e-05/0.5668, allocations: 8 kB / 0.7381 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.5673, allocations: 19.98 kB / 0.7381 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.5673, allocations: 36.22 kB / 0.7381 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.5674, allocations: 15.98 kB / 0.7381 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007791/0.5682, allocations: 0.6507 MB / 0.7388 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5682, allocations: 4 kB / 0.7388 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001386/0.5696, allocations: 0.5223 MB / 0.7393 GB, free: 3.328 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.002427/0.572, allocations: 1.702 MB / 0.741 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.5736, allocations: 0.7733 MB / 0.7417 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5736, allocations: 0 / 0.7417 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.574, allocations: 237.6 kB / 0.7419 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.5761, allocations: 0.4999 MB / 0.7424 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009994/0.5861, allocations: 7.03 MB / 0.7493 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.5867, allocations: 1.08 MB / 0.7503 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008803/0.5876, allocations: 252.1 kB / 0.7506 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.5881, allocations: 407.2 kB / 0.751 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/0.5881, allocations: 0 / 0.751 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05229/0.6404, allocations: 28.26 MB / 0.7786 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.24/9.88, allocations: 12.34 kB / 0.7786 GB, free: 11.11 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)