Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3",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.001657/0.001657, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.002437/0.002438, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.492/2.492, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.737/1.737, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006239/0.0006242, allocations: 11.94 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3133, allocations: 82.3 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.7086/1.022, allocations: 27.38 MB / 0.614 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02286/1.045, allocations: 9.136 MB / 0.6229 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/1.048, allocations: 39.12 kB / 0.623 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003735/1.052, allocations: 0.5649 MB / 0.6235 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009878/1.062, allocations: 1.489 MB / 0.625 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008695/1.07, allocations: 1.346 MB / 0.6263 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01046/1.081, allocations: 2.842 MB / 0.6291 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00573/1.087, allocations: 1.617 MB / 0.6306 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/1.093, allocations: 1.328 MB / 0.6319 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003917/1.097, allocations: 0.9296 MB / 0.6328 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008904/1.098, allocations: 76.91 kB / 0.6329 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005828/1.104, allocations: 0.758 MB / 0.6337 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/1.105, allocations: 360.8 kB / 0.634 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002024/1.107, allocations: 404.1 kB / 0.6344 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006541/1.114, allocations: 2.107 MB / 0.6364 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.114, allocations: 3.25 kB / 0.6365 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.067e-06/1.114, allocations: 0 / 0.6365 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001644/1.114, allocations: 0 / 0.6365 GB, free: 28.08 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.009578/1.124, allocations: 2.081 MB / 0.6385 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.687e-05/1.124, allocations: 14.86 kB / 0.6385 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000876/1.125, allocations: 145.5 kB / 0.6386 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/1.128, allocations: 309.7 kB / 0.6389 GB, free: 26.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007691/1.135, allocations: 1.575 MB / 0.6405 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/1.136, allocations: 82.02 kB / 0.6405 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007301/1.137, allocations: 105.1 kB / 0.6406 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/1.142, allocations: 1.321 MB / 0.6419 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.357e-05/1.142, allocations: 2.188 kB / 0.6419 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003135/1.143, allocations: 42.56 kB / 0.642 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/1.143, allocations: 24.44 kB / 0.642 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004337/1.147, allocations: 1.039 MB / 0.643 GB, free: 24.67 MB / 0.4981 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.01681/1.164, allocations: 6.93 MB / 0.6498 GB, free: 19.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/1.167, allocations: 0.6629 MB / 0.6504 GB, free: 19.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00694/1.174, allocations: 1.868 MB / 0.6523 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001432/1.176, allocations: 403 kB / 0.6526 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001343/1.177, allocations: 105.5 kB / 0.6527 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 5.18e-06/1.177, allocations: 4 kB / 0.6527 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.006888/1.184, allocations: 1.506 MB / 0.6542 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/1.184, allocations: 62.17 kB / 0.6543 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005208/1.189, allocations: 1.861 MB / 0.6561 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002905/1.189, allocations: 44.62 kB / 0.6561 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/1.191, allocations: 0.8611 MB / 0.657 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/1.191, allocations: 167.3 kB / 0.6571 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/1.191, allocations: 15.12 kB / 0.6572 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.191, allocations: 336.7 kB / 0.6575 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/1.192, allocations: 312.5 kB / 0.6578 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/1.195, allocations: 0.7728 MB / 0.6585 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/1.196, allocations: 443.1 kB / 0.6589 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.196, allocations: 2.156 kB / 0.659 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004789/1.201, allocations: 1.336 MB / 0.6603 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001247/1.202, allocations: 4.226 MB / 0.6644 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/1.202, allocations: 11.17 kB / 0.6644 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/1.204, allocations: 224.2 kB / 0.6646 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.205, allocations: 179.6 kB / 0.6648 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/1.206, allocations: 0.837 MB / 0.6656 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/1.21, allocations: 125.7 kB / 0.6657 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/1.21, allocations: 48.81 kB / 0.6658 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.21, allocations: 3.781 kB / 0.6658 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0035/1.214, allocations: 1.019 MB / 0.6668 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/1.214, allocations: 18.52 kB / 0.6668 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006699/1.214, allocations: 155.5 kB / 0.6669 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009023/1.215, allocations: 168.5 kB / 0.6671 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/1.219, allocations: 2.382 MB / 0.6694 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/1.222, allocations: 114.2 kB / 0.6695 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/1.222, allocations: 46.02 kB / 0.6696 GB, free: 6.328 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001795/1.224, allocations: 0.5929 MB / 0.6701 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007496/1.225, allocations: 171.3 kB / 0.6703 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/1.229, allocations: 1.077 MB / 0.6714 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.229, allocations: 11 kB / 0.6714 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.229, allocations: 0 / 0.6714 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002797/1.232, allocations: 1.008 MB / 0.6724 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006336/1.238, allocations: 2.308 MB / 0.6746 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.238, allocations: 2.156 kB / 0.6746 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/1.239, allocations: 93.11 kB / 0.6747 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003807/1.239, allocations: 149.4 kB / 0.6748 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/1.239, allocations: 13.02 kB / 0.6749 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006914/1.24, allocations: 0.8053 MB / 0.6756 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.24, allocations: 0.75 kB / 0.6756 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/1.243, allocations: 1.494 MB / 0.6771 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.245, allocations: 350.5 kB / 0.6774 GB, free: 18.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/1.245, allocations: 15.66 kB / 0.6774 GB, free: 18.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.246, allocations: 102.2 kB / 0.6775 GB, free: 18.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.246, allocations: 42.91 kB / 0.6776 GB, free: 18.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/1.246, allocations: 22.61 kB / 0.6776 GB, free: 18.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002569/1.249, allocations: 1.289 MB / 0.6789 GB, free: 17.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.41e-07/1.249, allocations: 0 / 0.6789 GB, free: 17.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006157/1.255, allocations: 0.8562 MB / 0.6797 GB, free: 17.53 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.007902/1.263, allocations: 2.395 MB / 0.682 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00606/1.269, allocations: 1.509 MB / 0.6835 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.269, allocations: 2.594 kB / 0.6835 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/1.27, allocations: 369.9 kB / 0.6839 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006932/1.277, allocations: 0.841 MB / 0.6847 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.297, allocations: 11.96 MB / 0.6964 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/1.299, allocations: 1.53 MB / 0.6979 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003503/1.303, allocations: 431 kB / 0.6983 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/1.304, allocations: 0.6566 MB / 0.6989 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of SimCode: time 2.986e-06/1.304, allocations: 0 / 0.6989 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2/1.504, allocations: 47.91 MB / 0.7457 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004655/1.505, allocations: 248.2 kB / 0.7459 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.913/7.418, allocations: 0 / 0.7459 GB, free: 8.012 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: