Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_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.007009/0.007009, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001851/0.001851, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7809/0.7809, allocations: 132.2 MB / 422.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.91 kB / 0.5809 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3808, allocations: 80.21 MB / 0.6592 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.032/0.4129, allocations: 30.67 MB / 0.6891 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01634/0.4292, allocations: 10.27 MB / 0.6992 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.4311, allocations: 45.84 kB / 0.6992 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.4331, allocations: 0.6895 MB / 0.6999 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.437, allocations: 1.488 MB / 0.7013 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.4401, allocations: 1.331 MB / 0.7026 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003938/0.4441, allocations: 2.975 MB / 0.7055 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.4454, allocations: 0.9696 MB / 0.7065 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/0.448, allocations: 1.171 MB / 0.7076 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.4492, allocations: 0.8057 MB / 0.7084 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.4494, allocations: 103.2 kB / 0.7085 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.4512, allocations: 0.8093 MB / 0.7093 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.4516, allocations: 358.9 kB / 0.7096 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008201/0.4524, allocations: 0.6064 MB / 0.7102 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.4556, allocations: 1.99 MB / 0.7122 GB, free: 15.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4556, allocations: 0 / 0.7122 GB, free: 15.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4556, allocations: 0 / 0.7122 GB, free: 15.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.909e-05/0.4557, allocations: 0 / 0.7122 GB, free: 15.75 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.002847/0.4585, allocations: 1.571 MB / 0.7137 GB, free: 14.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4586, allocations: 16.69 kB / 0.7137 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.4587, allocations: 106.7 kB / 0.7138 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009635/0.4597, allocations: 220 kB / 0.714 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.4615, allocations: 1.055 MB / 0.7151 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.4616, allocations: 53.31 kB / 0.7151 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.4617, allocations: 71.95 kB / 0.7152 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.463, allocations: 0.7293 MB / 0.7159 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.463, allocations: 4 kB / 0.7159 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.4631, allocations: 27.98 kB / 0.7159 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.4631, allocations: 25.31 kB / 0.716 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.4643, allocations: 0.536 MB / 0.7165 GB, free: 11.21 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.00415/0.4684, allocations: 3.168 MB / 0.7196 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.4696, allocations: 443.6 kB / 0.72 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/0.47, allocations: 192.7 kB / 0.7202 GB, free: 7.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/0.4719, allocations: 1.536 MB / 0.7217 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005274/0.4724, allocations: 260.1 kB / 0.7219 GB, free: 5.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.994e-06/0.4725, allocations: 0 / 0.7219 GB, free: 5.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001385/0.4738, allocations: 0.583 MB / 0.7225 GB, free: 4.664 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.4739, allocations: 55.41 kB / 0.7226 GB, free: 4.598 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.4751, allocations: 0.9452 MB / 0.7235 GB, free: 3.633 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.4752, allocations: 33.7 kB / 0.7235 GB, free: 3.594 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/0.4757, allocations: 0.5044 MB / 0.724 GB, free: 3.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.4758, allocations: 134.9 kB / 0.7241 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.476, allocations: 134.2 kB / 0.7243 GB, free: 2.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4762, allocations: 326 kB / 0.7246 GB, free: 2.492 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.4766, allocations: 211 kB / 0.7248 GB, free: 2.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.4773, allocations: 419.8 kB / 0.7252 GB, free: 1.781 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.4784, allocations: 0.6012 MB / 0.7258 GB, free: 1.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.4784, allocations: 4 kB / 0.7258 GB, free: 1.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001382/0.4798, allocations: 0.7118 MB / 0.7265 GB, free: 384 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.4798, allocations: 10.19 kB / 0.7265 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.4798, allocations: 8.031 kB / 0.7265 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.4799, allocations: 12 kB / 0.7265 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.4804, allocations: 147.7 kB / 0.7266 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.4805, allocations: 8 kB / 0.7266 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.481, allocations: 80.14 kB / 0.7267 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.4811, allocations: 31.98 kB / 0.7267 GB, free: 88 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006898/0.4818, allocations: 413.2 kB / 0.7271 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005549/0.4824, allocations: 391.8 kB / 0.7275 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008957/0.4833, allocations: 0.5649 MB / 0.7281 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.4833, allocations: 0 / 0.7281 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001189/0.4845, allocations: 0.6684 MB / 0.7287 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4845, allocations: 8.812 kB / 0.7287 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4845, allocations: 4 kB / 0.7287 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4845, allocations: 16 kB / 0.7287 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.485, allocations: 131.8 kB / 0.7289 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.485, allocations: 19.92 kB / 0.7289 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.4855, allocations: 48.42 kB / 0.7289 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.4856, allocations: 31.98 kB / 0.729 GB, free: 13.63 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.0001976/0.4858, allocations: 219.2 kB / 0.7292 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.486, allocations: 119.2 kB / 0.7293 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.4873, allocations: 0.6084 MB / 0.7299 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.4873, allocations: 4 kB / 0.7299 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4873, allocations: 0 / 0.7299 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/0.4884, allocations: 0.6703 MB / 0.7305 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.4907, allocations: 1.448 MB / 0.732 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.4907, allocations: 4 kB / 0.732 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.4912, allocations: 83.88 kB / 0.732 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.4912, allocations: 4 kB / 0.732 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.4912, allocations: 23.86 kB / 0.7321 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.4912, allocations: 4 kB / 0.7321 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4912, allocations: 0 / 0.7321 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.4929, allocations: 0.884 MB / 0.7329 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.4932, allocations: 232.3 kB / 0.7331 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.4933, allocations: 12 kB / 0.7332 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.4937, allocations: 19.92 kB / 0.7332 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4938, allocations: 40.22 kB / 0.7332 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.4939, allocations: 19.98 kB / 0.7332 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009054/0.4948, allocations: 0.6467 MB / 0.7339 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4948, allocations: 0 / 0.7339 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001482/0.4963, allocations: 0.5301 MB / 0.7344 GB, free: 7.859 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.002838/0.4992, allocations: 1.706 MB / 0.7361 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.5009, allocations: 0.7677 MB / 0.7368 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5009, allocations: 1.75 kB / 0.7368 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004843/0.5014, allocations: 239.8 kB / 0.737 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.5035, allocations: 0.5024 MB / 0.7375 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.5147, allocations: 7.052 MB / 0.7444 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/0.5156, allocations: 1.083 MB / 0.7455 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009542/0.5165, allocations: 260 kB / 0.7457 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/0.5171, allocations: 399.3 kB / 0.7461 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.5172, allocations: 0 / 0.7461 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06576/0.5829, allocations: 28.27 MB / 0.7737 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.756/10.34, allocations: 6.891 kB / 0.7737 GB, free: 15.64 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)