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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.01716/0.01716, allocations: 170.2 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.416/1.416, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.953/2.953, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001437/0.001437, allocations: 96.7 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006639/0.0006645, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9585/0.9593, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.628/2.587, allocations: 364.7 MB / 1.006 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004421/2.588, allocations: 102.2 kB / 1.006 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.294/7.882, allocations: 0.7041 GB / 1.71 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.251e-06/7.882, allocations: 2.156 kB / 1.71 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005964/7.883, allocations: 49.31 kB / 1.71 GB, free: 115.2 MB / 0.6823 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.0152/7.898, allocations: 2.447 MB / 1.712 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.5e-05/7.898, allocations: 11.09 kB / 1.712 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/7.899, allocations: 151.1 kB / 1.712 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/7.902, allocations: 292.3 kB / 1.713 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/7.917, allocations: 2.556 MB / 1.715 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/7.917, allocations: 85.17 kB / 1.715 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004747/7.918, allocations: 106 kB / 1.715 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00379/7.922, allocations: 1.242 MB / 1.717 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/7.922, allocations: 9.188 kB / 1.717 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/7.922, allocations: 42.47 kB / 1.717 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/7.922, allocations: 25.36 kB / 1.717 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/7.925, allocations: 0.9504 MB / 1.718 GB, free: 110.2 MB / 0.6823 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.01445/7.94, allocations: 6.607 MB / 1.724 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/7.942, allocations: 0.6157 MB / 1.725 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005726/7.948, allocations: 1.61 MB / 1.726 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/7.949, allocations: 372.5 kB / 1.727 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001745/7.951, allocations: 144.6 kB / 1.727 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 6.342e-06/7.951, allocations: 0 / 1.727 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.005543/7.956, allocations: 1.25 MB / 1.728 GB, free: 99.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/7.956, allocations: 59.83 kB / 1.728 GB, free: 99.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004962/7.961, allocations: 1.576 MB / 1.73 GB, free: 98.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003522/7.962, allocations: 37.7 kB / 1.73 GB, free: 98.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001377/7.963, allocations: 0.8599 MB / 1.73 GB, free: 97.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/7.964, allocations: 164.9 kB / 1.731 GB, free: 97.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/7.964, allocations: 16.97 kB / 1.731 GB, free: 97.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001947/7.964, allocations: 337.9 kB / 1.731 GB, free: 96.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/7.965, allocations: 283.8 kB / 1.731 GB, free: 96.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/7.967, allocations: 0.7263 MB / 1.732 GB, free: 95.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/7.968, allocations: 421.1 kB / 1.732 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/7.968, allocations: 9.891 kB / 1.732 GB, free: 95.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00463/7.972, allocations: 1.21 MB / 1.733 GB, free: 93.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002125/7.975, allocations: 4.132 MB / 1.738 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/7.975, allocations: 12 kB / 1.738 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/7.975, allocations: 143.4 kB / 1.738 GB, free: 89.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/7.977, allocations: 172.7 kB / 1.738 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/7.978, allocations: 0.7651 MB / 1.739 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/7.981, allocations: 102.5 kB / 1.739 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/7.981, allocations: 47.98 kB / 1.739 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/7.981, allocations: 5.094 kB / 1.739 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003425/7.985, allocations: 1.072 MB / 1.74 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/7.985, allocations: 14.19 kB / 1.74 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004626/7.985, allocations: 116.3 kB / 1.74 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009739/7.986, allocations: 173.1 kB / 1.74 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/7.99, allocations: 2.144 MB / 1.742 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/7.993, allocations: 95.83 kB / 1.742 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/7.993, allocations: 44 kB / 1.742 GB, free: 84.45 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,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.002626/7.996, allocations: 0.5864 MB / 1.743 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/7.997, allocations: 177.8 kB / 1.743 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/8.001, allocations: 1.01 MB / 1.744 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/8.001, allocations: 4 kB / 1.744 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/8.001, allocations: 0 / 1.744 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002295/8.003, allocations: 0.9536 MB / 1.745 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007656/8.011, allocations: 2.17 MB / 1.747 GB, free: 79.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/8.011, allocations: 0 / 1.747 GB, free: 79.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/8.012, allocations: 87.88 kB / 1.747 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004502/8.012, allocations: 124.1 kB / 1.747 GB, free: 79.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/8.012, allocations: 15.98 kB / 1.747 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009307/8.013, allocations: 0.7396 MB / 1.748 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/8.013, allocations: 7.344 kB / 1.748 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004544/8.018, allocations: 1.406 MB / 1.749 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/8.02, allocations: 314.8 kB / 1.75 GB, free: 76.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004798/8.02, allocations: 19.92 kB / 1.75 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/8.022, allocations: 71.91 kB / 1.75 GB, free: 76.56 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/8.022, allocations: 40.38 kB / 1.75 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/8.022, allocations: 27.97 kB / 1.75 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003451/8.026, allocations: 1.235 MB / 1.751 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/8.026, allocations: 0 / 1.751 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006384/8.032, allocations: 0.8621 MB / 1.752 GB, free: 74.38 MB / 0.6823 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 (41): * Single equations (assignments): 35 * 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.006906/8.039, allocations: 2.736 MB / 1.755 GB, free: 71.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004461/8.044, allocations: 1.454 MB / 1.756 GB, free: 70.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/8.044, allocations: 0 / 1.756 GB, free: 70.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/8.045, allocations: 338.5 kB / 1.756 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006724/8.052, allocations: 0.7367 MB / 1.757 GB, free: 69.17 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/8.07, allocations: 11.84 MB / 1.769 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/8.072, allocations: 1.535 MB / 1.77 GB, free: 55.32 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004893/8.077, allocations: 446.3 kB / 1.771 GB, free: 54.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/8.079, allocations: 0.6477 MB / 1.771 GB, free: 54.25 MB / 0.6823 GB Notification: Performance of SimCode: time 3.347e-06/8.079, allocations: 0 / 1.771 GB, free: 54.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.168/8.247, allocations: 50.47 MB / 1.82 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003104/8.248, allocations: 240.7 kB / 1.821 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/15.55, allocations: 0 / 1.821 GB, free: 4.559 MB / 0.6823 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)