Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_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.01663/0.01663, allocations: 171.2 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 1.413/1.413, 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.737/2.737, allocations: 223.2 MB / 406.9 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.002754/0.002754, allocations: 98.33 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006857/0.0006859, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9092/0.9099, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.285/10.19, allocations: 1.914 GB / 2.564 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004418/10.2, allocations: 95.7 kB / 2.564 GB, free: 23.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.471/18.67, allocations: 1.471 GB / 4.035 GB, free: 86.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.126e-06/18.67, allocations: 0 / 4.035 GB, free: 86.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001211/18.67, allocations: 43.08 kB / 4.035 GB, free: 86.63 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.005893/18.67, allocations: 2.146 MB / 4.037 GB, free: 85.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/18.67, allocations: 9.625 kB / 4.037 GB, free: 85.68 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002357/18.67, allocations: 147.5 kB / 4.038 GB, free: 85.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00291/18.68, allocations: 0.5148 MB / 4.038 GB, free: 85.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/18.68, allocations: 1.237 MB / 4.039 GB, free: 85.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008611/18.68, allocations: 284.2 kB / 4.04 GB, free: 85.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/18.68, allocations: 104.2 kB / 4.04 GB, free: 85.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/18.68, allocations: 1.324 MB / 4.041 GB, free: 84.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/18.68, allocations: 2.906 kB / 4.041 GB, free: 84.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/18.68, allocations: 41.62 kB / 4.041 GB, free: 84.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/18.68, allocations: 46.31 kB / 4.041 GB, free: 84.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/18.68, allocations: 1.078 MB / 4.042 GB, free: 84.87 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.007637/18.69, allocations: 6.656 MB / 4.049 GB, free: 80.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/18.69, allocations: 0.6233 MB / 4.049 GB, free: 80.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003861/18.69, allocations: 288.9 kB / 4.05 GB, free: 80.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/18.69, allocations: 36.44 kB / 4.05 GB, free: 80.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 3.637e-06/18.69, allocations: 3.844 kB / 4.05 GB, free: 80.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.002393/18.7, allocations: 0.8954 MB / 4.05 GB, free: 80.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/18.7, allocations: 59.83 kB / 4.05 GB, free: 80.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/18.7, allocations: 1.19 MB / 4.052 GB, free: 80.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/18.7, allocations: 36.83 kB / 4.052 GB, free: 80.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/18.7, allocations: 0.6793 MB / 4.052 GB, free: 79.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/18.7, allocations: 119 kB / 4.052 GB, free: 79.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/18.7, allocations: 14.94 kB / 4.052 GB, free: 79.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/18.7, allocations: 328.1 kB / 4.053 GB, free: 79.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000773/18.7, allocations: 327.7 kB / 4.053 GB, free: 79.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/18.7, allocations: 0.6745 MB / 4.054 GB, free: 78.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008643/18.7, allocations: 406 kB / 4.054 GB, free: 78.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/18.7, allocations: 6.25 kB / 4.054 GB, free: 78.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002199/18.7, allocations: 1.057 MB / 4.055 GB, free: 78.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009023/18.71, allocations: 3.808 MB / 4.059 GB, free: 74.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/18.71, allocations: 12.16 kB / 4.059 GB, free: 74.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.57e-05/18.71, allocations: 13.56 kB / 4.059 GB, free: 74.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/18.71, allocations: 206.4 kB / 4.059 GB, free: 74.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.558e-05/18.71, allocations: 24.84 kB / 4.059 GB, free: 74.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/18.71, allocations: 233.9 kB / 4.059 GB, free: 74.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/18.71, allocations: 40.53 kB / 4.059 GB, free: 74.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/18.71, allocations: 4.594 kB / 4.059 GB, free: 74.9 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001943/18.71, allocations: 0.9014 MB / 4.06 GB, free: 74.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/18.71, allocations: 9.75 kB / 4.06 GB, free: 74.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/18.71, allocations: 14.62 kB / 4.06 GB, free: 74.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/18.71, allocations: 208.6 kB / 4.061 GB, free: 74.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/18.71, allocations: 20.94 kB / 4.061 GB, free: 74.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/18.71, allocations: 207.7 kB / 4.061 GB, free: 74.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/18.71, allocations: 42.2 kB / 4.061 GB, free: 74.84 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.0008605/18.71, allocations: 416.7 kB / 4.061 GB, free: 74.65 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/18.71, allocations: 136.3 kB / 4.061 GB, free: 74.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/18.71, allocations: 0.6902 MB / 4.062 GB, free: 74.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/18.71, allocations: 4.406 kB / 4.062 GB, free: 74.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/18.71, allocations: 3.938 kB / 4.062 GB, free: 74.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/18.71, allocations: 3.516 kB / 4.062 GB, free: 74.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/18.72, allocations: 1.929 MB / 4.064 GB, free: 74.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/18.72, allocations: 3.844 kB / 4.064 GB, free: 74.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/18.72, allocations: 106.5 kB / 4.064 GB, free: 74.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/18.72, allocations: 10.8 kB / 4.064 GB, free: 74.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/18.72, allocations: 14.86 kB / 4.064 GB, free: 74.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.843e-05/18.72, allocations: 14.72 kB / 4.064 GB, free: 74.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/18.72, allocations: 3.312 kB / 4.064 GB, free: 74.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/18.72, allocations: 1.046 MB / 4.065 GB, free: 73.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/18.72, allocations: 289.5 kB / 4.065 GB, free: 73.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/18.72, allocations: 11.41 kB / 4.065 GB, free: 73.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009728/18.72, allocations: 113.1 kB / 4.065 GB, free: 73.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.733e-05/18.72, allocations: 38.22 kB / 4.065 GB, free: 73.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/18.72, allocations: 23.27 kB / 4.065 GB, free: 73.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001369/18.72, allocations: 0.9283 MB / 4.066 GB, free: 73.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.81e-07/18.72, allocations: 0 / 4.066 GB, free: 73.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003172/18.73, allocations: 0.8761 MB / 4.067 GB, free: 73.07 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.007073/18.73, allocations: 5.639 MB / 4.073 GB, free: 69.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002975/18.74, allocations: 1.161 MB / 4.074 GB, free: 69.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/18.74, allocations: 0 / 4.074 GB, free: 69.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000623/18.74, allocations: 268.8 kB / 4.074 GB, free: 69.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/18.74, allocations: 0.6188 MB / 4.075 GB, free: 69.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008548/18.75, allocations: 10.06 MB / 4.085 GB, free: 61.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/18.75, allocations: 1.217 MB / 4.086 GB, free: 60.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00173/18.75, allocations: 349.2 kB / 4.086 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/18.75, allocations: 482.2 kB / 4.087 GB, free: 60.56 MB / 0.7292 GB Notification: Performance of SimCode: time 1.282e-06/18.75, allocations: 2.906 kB / 4.087 GB, free: 60.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/18.87, allocations: 75.73 MB / 4.161 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/18.87, allocations: 209.7 kB / 4.161 GB, free: 20.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.913/23.78, allocations: 3.938 kB / 4.161 GB, free: 20.29 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)