Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007527/0.007527, allocations: 169.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7571/0.7571, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.2 MB / 406.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 100.3 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5022, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9386/1.441, allocations: 381.4 MB / 1.022 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/1.441, allocations: 100.9 kB / 1.022 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.667/7.108, allocations: 1.34 GB / 2.362 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.806e-06/7.108, allocations: 0 / 2.362 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000611/7.109, allocations: 95.91 kB / 2.362 GB, free: 11.17 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01542/7.124, allocations: 4.052 MB / 2.366 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/7.125, allocations: 19.97 kB / 2.366 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001179/7.126, allocations: 232 kB / 2.366 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/7.129, allocations: 0.5298 MB / 2.367 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/7.142, allocations: 4.372 MB / 2.371 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/7.142, allocations: 143.1 kB / 2.371 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009039/7.143, allocations: 187.9 kB / 2.371 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5599/7.703, allocations: 2.23 MB / 2.373 GB, free: 96.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-05/7.703, allocations: 7.188 kB / 2.373 GB, free: 96.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/7.704, allocations: 69.06 kB / 2.373 GB, free: 96.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-05/7.704, allocations: 40 kB / 2.373 GB, free: 96.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004988/7.709, allocations: 1.779 MB / 2.375 GB, free: 96.8 MB / 0.7136 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.01914/7.728, allocations: 11.53 MB / 2.386 GB, free: 90.76 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/7.731, allocations: 1.265 MB / 2.388 GB, free: 90.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007756/7.738, allocations: 3.459 MB / 2.391 GB, free: 89.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/7.74, allocations: 0.7186 MB / 2.392 GB, free: 89.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002906/7.743, allocations: 0.6148 MB / 2.392 GB, free: 89.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 6.102e-06/7.743, allocations: 3.281 kB / 2.392 GB, free: 89.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.009264/7.752, allocations: 3.556 MB / 2.396 GB, free: 88.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/7.752, allocations: 73.77 kB / 2.396 GB, free: 88.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004604/7.757, allocations: 2.495 MB / 2.398 GB, free: 88.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003334/7.757, allocations: 56.58 kB / 2.398 GB, free: 88.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/7.759, allocations: 1.424 MB / 2.4 GB, free: 87.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/7.759, allocations: 350.8 kB / 2.4 GB, free: 87.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/7.759, allocations: 25.16 kB / 2.4 GB, free: 87.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001257/7.759, allocations: 363.2 kB / 2.4 GB, free: 87.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/7.761, allocations: 0.5569 MB / 2.401 GB, free: 87.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/7.763, allocations: 1.328 MB / 2.402 GB, free: 86.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/7.764, allocations: 0.7761 MB / 2.403 GB, free: 86.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/7.764, allocations: 3.938 kB / 2.403 GB, free: 86.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005321/7.769, allocations: 2.446 MB / 2.405 GB, free: 86.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001901/7.771, allocations: 5.989 MB / 2.411 GB, free: 79.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/7.771, allocations: 14.91 kB / 2.411 GB, free: 79.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/7.773, allocations: 0.5049 MB / 2.412 GB, free: 79.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/7.774, allocations: 269.5 kB / 2.412 GB, free: 79.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/7.776, allocations: 1.898 MB / 2.414 GB, free: 78.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/7.779, allocations: 183.6 kB / 2.414 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/7.779, allocations: 78.56 kB / 2.414 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/7.779, allocations: 3.406 kB / 2.414 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003613/7.783, allocations: 2.206 MB / 2.416 GB, free: 78.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/7.783, allocations: 11.41 kB / 2.416 GB, free: 78.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000864/7.784, allocations: 474.2 kB / 2.417 GB, free: 78.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009617/7.785, allocations: 265.2 kB / 2.417 GB, free: 78.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006496/7.791, allocations: 5.952 MB / 2.423 GB, free: 75.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/7.794, allocations: 184.2 kB / 2.423 GB, free: 75.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/7.794, allocations: 66.8 kB / 2.423 GB, free: 75.71 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002155/7.797, allocations: 0.8276 MB / 2.424 GB, free: 75.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000881/7.797, allocations: 292.2 kB / 2.424 GB, free: 75.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/7.802, allocations: 2.18 MB / 2.426 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/7.802, allocations: 13.06 kB / 2.426 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/7.802, allocations: 3.703 kB / 2.426 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002764/7.805, allocations: 1.904 MB / 2.428 GB, free: 74.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008874/7.813, allocations: 4.135 MB / 2.432 GB, free: 74.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/7.814, allocations: 0 / 2.432 GB, free: 74.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/7.814, allocations: 139.7 kB / 2.432 GB, free: 74.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009542/7.815, allocations: 469.1 kB / 2.433 GB, free: 74.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/7.815, allocations: 27.91 kB / 2.433 GB, free: 74.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/7.817, allocations: 1.85 MB / 2.435 GB, free: 73.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/7.817, allocations: 5.922 kB / 2.435 GB, free: 73.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/7.822, allocations: 2.911 MB / 2.437 GB, free: 72.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/7.824, allocations: 0.4926 MB / 2.438 GB, free: 72.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/7.824, allocations: 17.56 kB / 2.438 GB, free: 72.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/7.826, allocations: 150.8 kB / 2.438 GB, free: 72.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/7.826, allocations: 64.73 kB / 2.438 GB, free: 72.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/7.826, allocations: 41.95 kB / 2.438 GB, free: 72.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002962/7.829, allocations: 1.942 MB / 2.44 GB, free: 72.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/7.829, allocations: 0 / 2.44 GB, free: 72.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005521/7.834, allocations: 1.45 MB / 2.442 GB, free: 72.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.006953/7.841, allocations: 4.355 MB / 2.446 GB, free: 71.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005751/7.847, allocations: 2.888 MB / 2.449 GB, free: 70.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/7.847, allocations: 3.719 kB / 2.449 GB, free: 70.65 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/7.848, allocations: 0.7045 MB / 2.449 GB, free: 70.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006185/7.855, allocations: 1.18 MB / 2.45 GB, free: 70.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/7.873, allocations: 17.91 MB / 2.468 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/7.876, allocations: 2.095 MB / 2.47 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004202/7.88, allocations: 0.7276 MB / 2.471 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/7.882, allocations: 1.149 MB / 2.472 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of SimCode: time 2.315e-06/7.882, allocations: 0 / 2.472 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1641/8.046, allocations: 83.04 MB / 2.553 GB, free: 51.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/8.047, allocations: 238.7 kB / 2.553 GB, free: 51.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.472/13.52, allocations: 3.938 kB / 2.553 GB, free: 51.36 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)