Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_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.007038/0.007038, allocations: 171.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.7646/0.7646, allocations: 135.2 MB / 151 MB, free: 13.83 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.63/1.63, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001023/0.001023, allocations: 102.6 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004649, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.503, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9212/1.424, allocations: 364.7 MB / 1.006 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/1.425, allocations: 101.6 kB / 1.006 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.974/4.398, allocations: 0.7041 GB / 1.71 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/4.398, allocations: 2.656 kB / 1.71 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000392/4.399, allocations: 48.31 kB / 1.71 GB, free: 115.3 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.008969/4.408, allocations: 2.452 MB / 1.712 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/4.408, allocations: 13.84 kB / 1.712 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006121/4.408, allocations: 146.9 kB / 1.712 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/4.41, allocations: 291.3 kB / 1.713 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008303/4.419, allocations: 2.562 MB / 1.715 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/4.419, allocations: 79.16 kB / 1.715 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/4.419, allocations: 110 kB / 1.715 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/4.422, allocations: 1.245 MB / 1.717 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/4.422, allocations: 3.125 kB / 1.717 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/4.422, allocations: 39.06 kB / 1.717 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/4.422, allocations: 27.55 kB / 1.717 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/4.425, allocations: 0.9581 MB / 1.718 GB, free: 110.3 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.009574/4.434, allocations: 6.602 MB / 1.724 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/4.435, allocations: 0.6149 MB / 1.725 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003717/4.439, allocations: 1.623 MB / 1.726 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000702/4.44, allocations: 364.2 kB / 1.727 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001159/4.441, allocations: 139.9 kB / 1.727 GB, free: 101 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 6.262e-06/4.441, allocations: 0 / 1.727 GB, free: 101 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.003187/4.444, allocations: 1.259 MB / 1.728 GB, free: 99.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/4.444, allocations: 55.84 kB / 1.728 GB, free: 99.63 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/4.447, allocations: 1.572 MB / 1.73 GB, free: 98.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.274e-05/4.447, allocations: 41.7 kB / 1.73 GB, free: 97.97 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008215/4.448, allocations: 0.849 MB / 1.73 GB, free: 97.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/4.448, allocations: 179.7 kB / 1.731 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/4.449, allocations: 16 kB / 1.731 GB, free: 96.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.96e-05/4.449, allocations: 334 kB / 1.731 GB, free: 96.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/4.449, allocations: 284.8 kB / 1.731 GB, free: 96.33 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007918/4.45, allocations: 0.7236 MB / 1.732 GB, free: 95.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/4.451, allocations: 424.9 kB / 1.732 GB, free: 95.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/4.451, allocations: 7.953 kB / 1.732 GB, free: 95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002343/4.453, allocations: 1.211 MB / 1.733 GB, free: 93.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001194/4.454, allocations: 4.135 MB / 1.738 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/4.454, allocations: 12 kB / 1.738 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004181/4.455, allocations: 142.3 kB / 1.738 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/4.455, allocations: 171.7 kB / 1.738 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005809/4.456, allocations: 0.7601 MB / 1.739 GB, free: 88.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/4.458, allocations: 105.6 kB / 1.739 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/4.458, allocations: 47.97 kB / 1.739 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/4.458, allocations: 6.344 kB / 1.739 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001708/4.459, allocations: 1.07 MB / 1.74 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/4.46, allocations: 13.28 kB / 1.74 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/4.46, allocations: 118.3 kB / 1.74 GB, free: 86.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/4.46, allocations: 165.1 kB / 1.74 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/4.462, allocations: 2.146 MB / 1.742 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/4.464, allocations: 98.66 kB / 1.742 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.997e-05/4.464, allocations: 44 kB / 1.742 GB, free: 84.35 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.001198/4.465, allocations: 0.5899 MB / 1.743 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/4.465, allocations: 177.8 kB / 1.743 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/4.468, allocations: 1.002 MB / 1.744 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/4.468, allocations: 8 kB / 1.744 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/4.468, allocations: 0 / 1.744 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/4.469, allocations: 0.9493 MB / 1.745 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/4.473, allocations: 2.168 MB / 1.747 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/4.473, allocations: 0 / 1.747 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/4.474, allocations: 91.86 kB / 1.747 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000279/4.474, allocations: 132.6 kB / 1.747 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/4.474, allocations: 15.98 kB / 1.747 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004344/4.475, allocations: 0.7279 MB / 1.748 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/4.475, allocations: 4.031 kB / 1.748 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/4.477, allocations: 1.414 MB / 1.749 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009008/4.478, allocations: 314.8 kB / 1.75 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004181/4.478, allocations: 15.92 kB / 1.75 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/4.479, allocations: 75.89 kB / 1.75 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/4.479, allocations: 36.39 kB / 1.75 GB, free: 76.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.837e-05/4.479, allocations: 31.97 kB / 1.75 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002021/4.481, allocations: 1.235 MB / 1.751 GB, free: 75.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/4.481, allocations: 0 / 1.751 GB, free: 75.13 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003412/4.485, allocations: 0.866 MB / 1.752 GB, free: 74.27 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.004119/4.489, allocations: 2.731 MB / 1.755 GB, free: 71.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002701/4.492, allocations: 1.449 MB / 1.756 GB, free: 70.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/4.492, allocations: 5.438 kB / 1.756 GB, free: 70.11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006195/4.492, allocations: 334.4 kB / 1.756 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/4.496, allocations: 0.742 MB / 1.757 GB, free: 69.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/4.507, allocations: 11.84 MB / 1.769 GB, free: 56.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/4.508, allocations: 1.531 MB / 1.77 GB, free: 55.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002134/4.51, allocations: 446.7 kB / 1.771 GB, free: 54.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009477/4.511, allocations: 0.6516 MB / 1.771 GB, free: 54.14 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-05/4.511, allocations: 0 / 1.771 GB, free: 54.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/4.644, allocations: 50.47 MB / 1.82 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/4.644, allocations: 225.3 kB / 1.821 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.927/8.571, allocations: 3.938 kB / 1.821 GB, free: 4.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)