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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.43/2.43, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.155/1.155, allocations: 132.2 MB / 423.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004418, allocations: 8 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7513, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.3579/1.109, allocations: 194.8 MB / 0.7732 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02667/1.136, allocations: 14.5 MB / 0.7874 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003527/1.14, allocations: 51.62 kB / 0.7874 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004248/1.144, allocations: 0.945 MB / 0.7883 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01439/1.158, allocations: 2.972 MB / 0.7913 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006958/1.165, allocations: 1.539 MB / 0.7928 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005552/1.171, allocations: 2.026 MB / 0.7947 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/1.173, allocations: 0.9571 MB / 0.7957 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006444/1.18, allocations: 1.71 MB / 0.7973 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/1.182, allocations: 0.6845 MB / 0.798 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003101/1.182, allocations: 51.94 kB / 0.7981 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007691/1.19, allocations: 1.677 MB / 0.7997 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001183/1.191, allocations: 354.8 kB / 0.8 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/1.193, allocations: 332.9 kB / 0.8003 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006893/1.2, allocations: 1.89 MB / 0.8022 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.2, allocations: 0 / 0.8022 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.957e-06/1.2, allocations: 4 kB / 0.8022 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.788e-05/1.2, allocations: 0 / 0.8022 GB, free: 15.57 MB / 0.6387 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.007525/1.208, allocations: 1.69 MB / 0.8038 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.067e-05/1.208, allocations: 8.031 kB / 0.8039 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000555/1.208, allocations: 156.2 kB / 0.804 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/1.214, allocations: 0.5444 MB / 0.8045 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004841/1.219, allocations: 1.064 MB / 0.8056 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00174/1.221, allocations: 273.8 kB / 0.8058 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004513/1.221, allocations: 100 kB / 0.8059 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004592/1.226, allocations: 1.33 MB / 0.8072 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/1.226, allocations: 4 kB / 0.8072 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/1.226, allocations: 36 kB / 0.8073 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/1.226, allocations: 53.98 kB / 0.8073 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004809/1.231, allocations: 1.104 MB / 0.8084 GB, free: 9.004 MB / 0.6387 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.01585/1.247, allocations: 6.704 MB / 0.8149 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/1.251, allocations: 0.6401 MB / 0.8156 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/1.251, allocations: 16.27 kB / 0.8156 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.942e-05/1.251, allocations: 42.8 kB / 0.8156 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 4.278e-06/1.251, allocations: 0 / 0.8156 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.004989/1.256, allocations: 0.9122 MB / 0.8165 GB, free: 216 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/1.256, allocations: 59.41 kB / 0.8166 GB, free: 144 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5898/1.846, allocations: 1.345 MB / 0.8179 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002451/1.846, allocations: 31.77 kB / 0.8179 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009538/1.847, allocations: 0.6814 MB / 0.8186 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/1.848, allocations: 121.5 kB / 0.8187 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/1.848, allocations: 10.5 kB / 0.8187 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.848, allocations: 337.6 kB / 0.819 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/1.849, allocations: 327 kB / 0.8193 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/1.852, allocations: 0.6632 MB / 0.82 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/1.853, allocations: 397.7 kB / 0.8204 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/1.854, allocations: 9.938 kB / 0.8204 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.005006/1.859, allocations: 1.049 MB / 0.8214 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001205/1.86, allocations: 3.909 MB / 0.8252 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/1.86, allocations: 10.12 kB / 0.8252 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.659e-05/1.86, allocations: 15.94 kB / 0.8252 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.862, allocations: 207.8 kB / 0.8254 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.348e-05/1.862, allocations: 20.19 kB / 0.8255 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/1.865, allocations: 233 kB / 0.8257 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/1.865, allocations: 43.59 kB / 0.8257 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.865, allocations: 3.875 kB / 0.8257 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004091/1.869, allocations: 0.8993 MB / 0.8266 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/1.869, allocations: 12.16 kB / 0.8266 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.123e-05/1.869, allocations: 14.78 kB / 0.8266 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.871, allocations: 205.5 kB / 0.8268 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-05/1.871, allocations: 19.7 kB / 0.8269 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/1.874, allocations: 208.2 kB / 0.8271 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/1.874, allocations: 37.75 kB / 0.8271 GB, free: 213.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.001106/1.875, allocations: 419.8 kB / 0.8275 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/1.876, allocations: 135.3 kB / 0.8276 GB, free: 213 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/1.878, allocations: 0.6786 MB / 0.8283 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.878, allocations: 7.719 kB / 0.8283 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.878, allocations: 0 / 0.8283 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.878, allocations: 6.359 kB / 0.8283 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007429/1.886, allocations: 2.538 MB / 0.8308 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/1.886, allocations: 10.95 kB / 0.8308 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/1.887, allocations: 110.2 kB / 0.8309 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-05/1.887, allocations: 10.31 kB / 0.8309 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/1.887, allocations: 19.02 kB / 0.8309 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.516e-05/1.887, allocations: 24.81 kB / 0.8309 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-05/1.887, allocations: 11.53 kB / 0.8309 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/1.89, allocations: 1.399 MB / 0.8323 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.891, allocations: 294.9 kB / 0.8326 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/1.891, allocations: 16.69 kB / 0.8326 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.893, allocations: 110.5 kB / 0.8327 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.893, allocations: 46.55 kB / 0.8328 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.421e-05/1.893, allocations: 29.97 kB / 0.8328 GB, free: 210 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00286/1.896, allocations: 0.9258 MB / 0.8337 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.6e-07/1.896, allocations: 0 / 0.8337 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005007/1.901, allocations: 0.5817 MB / 0.8343 GB, free: 209.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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.005222/1.906, allocations: 4.165 MB / 0.8383 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006246/1.913, allocations: 1.162 MB / 0.8395 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.228e-05/1.913, allocations: 1.438 kB / 0.8395 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.914, allocations: 293.7 kB / 0.8397 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005984/1.92, allocations: 0.6193 MB / 0.8404 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/1.933, allocations: 10.17 MB / 0.8503 GB, free: 196.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/1.934, allocations: 1.214 MB / 0.8515 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003348/1.938, allocations: 354.1 kB / 0.8518 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/1.939, allocations: 482.2 kB / 0.8523 GB, free: 194.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.834e-06/1.939, allocations: 4 kB / 0.8523 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08223/2.021, allocations: 32.54 MB / 0.884 GB, free: 167.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/2.022, allocations: 210 kB / 0.8842 GB, free: 167.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.407/6.428, allocations: 4 kB / 0.8843 GB, free: 167.5 MB / 0.6387 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) Environment - environmentSimulation: