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.005433/0.005433, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001299/0.001299, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9307/0.9307, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 64.09 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4647, allocations: 80.91 MB / 0.6641 GB, free: 7.426 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.03025/0.495, allocations: 30.67 MB / 0.6941 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.5112, allocations: 10.28 MB / 0.7041 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.5134, allocations: 44.62 kB / 0.7042 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.516, allocations: 0.6942 MB / 0.7049 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.5208, allocations: 1.477 MB / 0.7063 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.5245, allocations: 1.345 MB / 0.7076 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005308/0.5298, allocations: 2.968 MB / 0.7105 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.5317, allocations: 0.9745 MB / 0.7115 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.5348, allocations: 1.197 MB / 0.7126 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.5364, allocations: 0.805 MB / 0.7134 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00038/0.5368, allocations: 104 kB / 0.7135 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.5392, allocations: 0.8035 MB / 0.7143 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005672/0.5398, allocations: 354.9 kB / 0.7146 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.5412, allocations: 0.6181 MB / 0.7152 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004324/0.5455, allocations: 1.967 MB / 0.7172 GB, free: 11.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5455, allocations: 4 kB / 0.7172 GB, free: 11.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5456, allocations: 0 / 0.7172 GB, free: 11.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.783e-05/0.5456, allocations: 0 / 0.7172 GB, free: 11.27 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.003676/0.5493, allocations: 1.542 MB / 0.7187 GB, free: 9.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5494, allocations: 12.03 kB / 0.7187 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.5495, allocations: 102.7 kB / 0.7188 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.5507, allocations: 207.2 kB / 0.719 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.553, allocations: 1.058 MB / 0.72 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.5531, allocations: 49.31 kB / 0.7201 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.5532, allocations: 75.98 kB / 0.7201 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.5545, allocations: 0.7293 MB / 0.7208 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.5546, allocations: 4 kB / 0.7208 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.5546, allocations: 24 kB / 0.7209 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.5547, allocations: 29.31 kB / 0.7209 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.5558, allocations: 0.5399 MB / 0.7214 GB, free: 6.777 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.00427/0.5601, allocations: 3.151 MB / 0.7245 GB, free: 3.441 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.5612, allocations: 444 kB / 0.7249 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.5616, allocations: 192.8 kB / 0.7251 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002045/0.5637, allocations: 1.536 MB / 0.7266 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005197/0.5642, allocations: 244.2 kB / 0.7268 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 2.445e-06/0.5642, allocations: 7.938 kB / 0.7268 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.0014/0.5656, allocations: 0.5782 MB / 0.7274 GB, free: 260 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.5657, allocations: 55.41 kB / 0.7275 GB, free: 192 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.5669, allocations: 0.9413 MB / 0.7284 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.567, allocations: 33.7 kB / 0.7284 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.5674, allocations: 0.5074 MB / 0.7289 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.5676, allocations: 130.2 kB / 0.729 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.5678, allocations: 134.1 kB / 0.7292 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5679, allocations: 322 kB / 0.7295 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.5683, allocations: 211.1 kB / 0.7297 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/0.5689, allocations: 415.8 kB / 0.7301 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009849/0.5699, allocations: 0.6008 MB / 0.7307 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.57, allocations: 4 kB / 0.7307 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001351/0.5713, allocations: 0.7043 MB / 0.7313 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5714, allocations: 11.98 kB / 0.7314 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.5714, allocations: 4.078 kB / 0.7314 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.5714, allocations: 12 kB / 0.7314 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.572, allocations: 139.8 kB / 0.7315 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.572, allocations: 20.2 kB / 0.7315 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.5726, allocations: 79.91 kB / 0.7316 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.5727, allocations: 35.98 kB / 0.7316 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006793/0.5734, allocations: 409.2 kB / 0.732 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005119/0.5739, allocations: 396.5 kB / 0.7324 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008372/0.5747, allocations: 0.5614 MB / 0.733 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.929e-06/0.5748, allocations: 0 / 0.733 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001233/0.576, allocations: 0.6641 MB / 0.7336 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.576, allocations: 8 kB / 0.7336 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.576, allocations: 4 kB / 0.7336 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5761, allocations: 12 kB / 0.7336 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.5766, allocations: 135.8 kB / 0.7338 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.5766, allocations: 12.25 kB / 0.7338 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.5772, allocations: 60.33 kB / 0.7338 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.5772, allocations: 31.98 kB / 0.7339 GB, free: 9.234 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.0001939/0.5774, allocations: 212.1 kB / 0.7341 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.5776, allocations: 102.7 kB / 0.7342 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.5789, allocations: 0.6122 MB / 0.7348 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.5789, allocations: 11.98 kB / 0.7348 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5789, allocations: 0 / 0.7348 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009634/0.5799, allocations: 0.6702 MB / 0.7354 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.5823, allocations: 1.439 MB / 0.7368 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5823, allocations: 7.938 kB / 0.7368 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.5827, allocations: 84.02 kB / 0.7369 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.5828, allocations: 0 / 0.7369 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.5828, allocations: 15.98 kB / 0.7369 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5828, allocations: 4 kB / 0.7369 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5828, allocations: 0 / 0.7369 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.5843, allocations: 0.8793 MB / 0.7378 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.5847, allocations: 239.7 kB / 0.738 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.5849, allocations: 8 kB / 0.738 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.5853, allocations: 23.97 kB / 0.738 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.5854, allocations: 32.23 kB / 0.7381 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.5855, allocations: 19.98 kB / 0.7381 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008285/0.5863, allocations: 0.6506 MB / 0.7387 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5863, allocations: 0 / 0.7387 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00142/0.5877, allocations: 0.5223 MB / 0.7392 GB, free: 3.508 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.00255/0.5903, allocations: 1.702 MB / 0.7409 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.5919, allocations: 0.7739 MB / 0.7417 GB, free: 1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5919, allocations: 0 / 0.7417 GB, free: 1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.5924, allocations: 236.4 kB / 0.7419 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.5945, allocations: 0.4994 MB / 0.7424 GB, free: 292 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.6051, allocations: 7.027 MB / 0.7492 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/0.6058, allocations: 1.083 MB / 0.7503 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009291/0.6067, allocations: 244.1 kB / 0.7505 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005463/0.6073, allocations: 411.3 kB / 0.7509 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.6073, allocations: 0 / 0.7509 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06505/0.6724, allocations: 28.72 MB / 0.779 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.394/10.07, allocations: 10.22 kB / 0.779 GB, free: 10.85 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)