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.001171/0.001171, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7541/0.7541, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.5 MB / 395.4 MB, free: 10.74 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.001395/0.001395, allocations: 97.73 kB / 478.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.446e-05, allocations: 4 kB / 0.5535 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4954, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.457/4.953, allocations: 1.914 GB / 2.548 GB, free: 123 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/4.953, allocations: 91.61 kB / 2.548 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.823/10.78, allocations: 1.454 GB / 4.002 GB, free: 75.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.194e-06/10.78, allocations: 0 / 4.002 GB, free: 75.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002312/10.78, allocations: 41.56 kB / 4.002 GB, free: 75.4 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006919/10.78, allocations: 1.904 MB / 4.004 GB, free: 74.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/10.78, allocations: 9.719 kB / 4.004 GB, free: 74.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/10.79, allocations: 0.5104 MB / 4.004 GB, free: 74.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003971/10.79, allocations: 1.227 MB / 4.006 GB, free: 74.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009806/10.79, allocations: 237.8 kB / 4.006 GB, free: 74.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003853/10.79, allocations: 62.59 kB / 4.006 GB, free: 74.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00192/10.79, allocations: 0.7103 MB / 4.007 GB, free: 74.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/10.8, allocations: 1.051 MB / 4.008 GB, free: 74.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/10.8, allocations: 4.344 kB / 4.008 GB, free: 74.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/10.8, allocations: 5.969 kB / 4.008 GB, free: 74.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.118e-05/10.8, allocations: 49.41 kB / 4.008 GB, free: 74.28 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.009698/10.81, allocations: 6.382 MB / 4.014 GB, free: 70.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/10.81, allocations: 464.4 kB / 4.014 GB, free: 70.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/10.81, allocations: 178.6 kB / 4.015 GB, free: 70.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/10.81, allocations: 289.4 kB / 4.015 GB, free: 69.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/10.81, allocations: 33.09 kB / 4.015 GB, free: 69.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.736e-06/10.81, allocations: 0 / 4.015 GB, free: 69.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.00175/10.81, allocations: 496.4 kB / 4.015 GB, free: 69.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/10.81, allocations: 54 kB / 4.015 GB, free: 69.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/10.81, allocations: 0.8285 MB / 4.016 GB, free: 69.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/10.81, allocations: 29.02 kB / 4.016 GB, free: 69.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005248/10.81, allocations: 0.6965 MB / 4.017 GB, free: 69.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/10.81, allocations: 115.7 kB / 4.017 GB, free: 69.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/10.81, allocations: 0 / 4.017 GB, free: 69.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/10.81, allocations: 339.9 kB / 4.017 GB, free: 68.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/10.81, allocations: 187 kB / 4.018 GB, free: 68.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/10.81, allocations: 0.5509 MB / 4.018 GB, free: 68.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/10.81, allocations: 307.6 kB / 4.018 GB, free: 68.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/10.81, allocations: 3.969 kB / 4.018 GB, free: 68.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001354/10.82, allocations: 0.7433 MB / 4.019 GB, free: 68.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008139/10.82, allocations: 4.101 MB / 4.023 GB, free: 64.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/10.82, allocations: 11.72 kB / 4.023 GB, free: 64.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/10.82, allocations: 14.97 kB / 4.023 GB, free: 64.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/10.82, allocations: 210.7 kB / 4.023 GB, free: 64.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/10.82, allocations: 30.69 kB / 4.023 GB, free: 64.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/10.82, allocations: 180.8 kB / 4.024 GB, free: 64.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/10.82, allocations: 44.03 kB / 4.024 GB, free: 64.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/10.82, allocations: 3.656 kB / 4.024 GB, free: 64.04 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001036/10.82, allocations: 0.6088 MB / 4.024 GB, free: 64.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/10.82, allocations: 13.06 kB / 4.024 GB, free: 64.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/10.82, allocations: 15.47 kB / 4.024 GB, free: 64.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/10.82, allocations: 208.2 kB / 4.024 GB, free: 64.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/10.82, allocations: 23.98 kB / 4.024 GB, free: 64.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/10.82, allocations: 142.4 kB / 4.025 GB, free: 64.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/10.82, allocations: 44.91 kB / 4.025 GB, free: 64.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0002005/10.82, allocations: 137.6 kB / 4.025 GB, free: 63.91 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001153/10.82, allocations: 447 kB / 4.025 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/10.82, allocations: 111.6 kB / 4.025 GB, free: 63.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/10.83, allocations: 486.6 kB / 4.026 GB, free: 63.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/10.83, allocations: 1.688 kB / 4.026 GB, free: 63.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/10.83, allocations: 5.219 kB / 4.026 GB, free: 63.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/10.83, allocations: 3.703 kB / 4.026 GB, free: 63.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/10.83, allocations: 1.659 MB / 4.027 GB, free: 63.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/10.83, allocations: 3.875 kB / 4.027 GB, free: 63.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/10.83, allocations: 109 kB / 4.027 GB, free: 63.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/10.83, allocations: 3.594 kB / 4.027 GB, free: 63.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/10.83, allocations: 14.08 kB / 4.027 GB, free: 63.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/10.83, allocations: 7.344 kB / 4.027 GB, free: 63.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/10.83, allocations: 3.938 kB / 4.027 GB, free: 63.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/10.83, allocations: 0.8289 MB / 4.028 GB, free: 62.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/10.83, allocations: 249.9 kB / 4.029 GB, free: 62.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/10.83, allocations: 10.7 kB / 4.029 GB, free: 62.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/10.83, allocations: 111.4 kB / 4.029 GB, free: 62.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/10.83, allocations: 36.38 kB / 4.029 GB, free: 62.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/10.83, allocations: 19.84 kB / 4.029 GB, free: 62.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008922/10.83, allocations: 0.6199 MB / 4.029 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/10.83, allocations: 0 / 4.029 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003177/10.84, allocations: 0.8119 MB / 4.03 GB, free: 62.34 MB / 0.7136 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 () * 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.006769/10.84, allocations: 5.79 MB / 4.036 GB, free: 59.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001544/10.84, allocations: 0.7936 MB / 4.037 GB, free: 59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/10.84, allocations: 3.5 kB / 4.037 GB, free: 59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/10.85, allocations: 179 kB / 4.037 GB, free: 59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/10.85, allocations: 384.3 kB / 4.037 GB, free: 59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/10.85, allocations: 1.892 MB / 4.039 GB, free: 58.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000779/10.85, allocations: 1.213 MB / 4.04 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002023/10.86, allocations: 378.5 kB / 4.04 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/10.86, allocations: 457.9 kB / 4.041 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/10.86, allocations: 0 / 4.041 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08598/10.94, allocations: 48.14 MB / 4.088 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/10.94, allocations: 158.4 kB / 4.088 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.883/14.83, allocations: 0 / 4.088 GB, free: 55.83 MB / 0.7136 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)