Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example4.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.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",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.01012/0.01012, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7939/0.7939, 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.589/1.589, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.001102/0.001102, allocations: 99.22 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004489, allocations: 8 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5025, allocations: 82.29 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.835/5.338, allocations: 1.914 GB / 2.564 GB, free: 22.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/5.338, allocations: 98.62 kB / 2.564 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.96/11.3, allocations: 1.471 GB / 4.035 GB, free: 87.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.547e-06/11.3, allocations: 0 / 4.035 GB, free: 87.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001585/11.3, allocations: 36.78 kB / 4.035 GB, free: 87.43 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.007721/11.31, allocations: 2.148 MB / 4.037 GB, free: 86.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/11.31, allocations: 9.188 kB / 4.037 GB, free: 86.48 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003172/11.31, allocations: 152.7 kB / 4.038 GB, free: 86.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/11.31, allocations: 0.509 MB / 4.038 GB, free: 86.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/11.31, allocations: 1.237 MB / 4.039 GB, free: 85.99 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008317/11.31, allocations: 283 kB / 4.04 GB, free: 85.99 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/11.31, allocations: 103.2 kB / 4.04 GB, free: 85.99 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/11.32, allocations: 1.318 MB / 4.041 GB, free: 85.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/11.32, allocations: 2.531 kB / 4.041 GB, free: 85.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/11.32, allocations: 53.06 kB / 4.041 GB, free: 85.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-05/11.32, allocations: 44.09 kB / 4.041 GB, free: 85.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/11.32, allocations: 1.072 MB / 4.042 GB, free: 85.68 MB / 0.7292 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.007374/11.33, allocations: 6.656 MB / 4.049 GB, free: 81.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/11.33, allocations: 0.6377 MB / 4.049 GB, free: 81.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/11.33, allocations: 281.8 kB / 4.05 GB, free: 81.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/11.33, allocations: 39.59 kB / 4.05 GB, free: 81.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/11.33, allocations: 0 / 4.05 GB, free: 81.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0024/11.33, allocations: 0.8942 MB / 4.05 GB, free: 81.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/11.33, allocations: 56.81 kB / 4.05 GB, free: 81.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/11.33, allocations: 1.19 MB / 4.052 GB, free: 80.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/11.33, allocations: 36.48 kB / 4.052 GB, free: 80.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/11.33, allocations: 0.6819 MB / 4.052 GB, free: 80.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.693e-05/11.33, allocations: 120.1 kB / 4.052 GB, free: 80.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/11.33, allocations: 14.41 kB / 4.052 GB, free: 80.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/11.33, allocations: 328 kB / 4.053 GB, free: 80.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007662/11.33, allocations: 325.5 kB / 4.053 GB, free: 80.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/11.33, allocations: 0.6734 MB / 4.054 GB, free: 79.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008439/11.34, allocations: 408.2 kB / 4.054 GB, free: 79.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/11.34, allocations: 3.656 kB / 4.054 GB, free: 79.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002086/11.34, allocations: 1.054 MB / 4.055 GB, free: 79.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008709/11.34, allocations: 3.815 MB / 4.059 GB, free: 75.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/11.34, allocations: 9.562 kB / 4.059 GB, free: 75.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/11.34, allocations: 14.09 kB / 4.059 GB, free: 75.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008315/11.34, allocations: 208.2 kB / 4.059 GB, free: 75.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/11.34, allocations: 20.66 kB / 4.059 GB, free: 75.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/11.34, allocations: 240.9 kB / 4.059 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/11.34, allocations: 42.36 kB / 4.059 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/11.34, allocations: 5.031 kB / 4.059 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001911/11.34, allocations: 0.8982 MB / 4.06 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/11.34, allocations: 7.438 kB / 4.06 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/11.34, allocations: 19.81 kB / 4.06 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/11.34, allocations: 201.1 kB / 4.061 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/11.34, allocations: 23.47 kB / 4.061 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/11.35, allocations: 206.2 kB / 4.061 GB, free: 75.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/11.35, allocations: 47.7 kB / 4.061 GB, free: 75.65 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008109/11.35, allocations: 409.5 kB / 4.061 GB, free: 75.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/11.35, allocations: 138.6 kB / 4.061 GB, free: 75.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/11.35, allocations: 0.6952 MB / 4.062 GB, free: 75.31 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/11.35, allocations: 3.469 kB / 4.062 GB, free: 75.31 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/11.35, allocations: 0 / 4.062 GB, free: 75.31 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/11.35, allocations: 10.55 kB / 4.062 GB, free: 75.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/11.35, allocations: 1.92 MB / 4.064 GB, free: 74.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/11.35, allocations: 5.688 kB / 4.064 GB, free: 74.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/11.35, allocations: 113.1 kB / 4.064 GB, free: 74.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/11.35, allocations: 7.766 kB / 4.064 GB, free: 74.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/11.35, allocations: 15.03 kB / 4.064 GB, free: 74.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/11.35, allocations: 7.75 kB / 4.064 GB, free: 74.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/11.35, allocations: 5.125 kB / 4.064 GB, free: 74.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/11.35, allocations: 1.05 MB / 4.065 GB, free: 74.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/11.35, allocations: 286.6 kB / 4.065 GB, free: 74.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/11.35, allocations: 10.25 kB / 4.065 GB, free: 74.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009717/11.36, allocations: 119.1 kB / 4.065 GB, free: 74.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/11.36, allocations: 42.3 kB / 4.065 GB, free: 74.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/11.36, allocations: 20.88 kB / 4.065 GB, free: 74.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00133/11.36, allocations: 0.9269 MB / 4.066 GB, free: 73.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/11.36, allocations: 0 / 4.066 GB, free: 73.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003127/11.36, allocations: 0.874 MB / 4.067 GB, free: 73.88 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007741/11.37, allocations: 5.626 MB / 4.073 GB, free: 70.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00303/11.37, allocations: 1.159 MB / 4.074 GB, free: 70.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/11.37, allocations: 0 / 4.074 GB, free: 70.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006659/11.37, allocations: 278.2 kB / 4.074 GB, free: 70.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/11.37, allocations: 0.6231 MB / 4.075 GB, free: 70.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008118/11.38, allocations: 10.06 MB / 4.085 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/11.38, allocations: 1.208 MB / 4.086 GB, free: 61.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001711/11.39, allocations: 359.9 kB / 4.086 GB, free: 61.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006069/11.39, allocations: 478 kB / 4.087 GB, free: 61.36 MB / 0.7292 GB Notification: Performance of SimCode: time 1.393e-06/11.39, allocations: 0 / 4.087 GB, free: 61.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/11.52, allocations: 75.72 MB / 4.161 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/11.52, allocations: 201 kB / 4.161 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.723/16.24, allocations: 0 / 4.161 GB, free: 19.79 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)