Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 109 kB / 15.99 MB, free: 5.914 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.001291/0.001292, allocations: 190.8 kB / 16.91 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8227/0.8227, allocations: 135.2 MB / 425.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 59.91 kB / 0.5055 GB, free: 8.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3857, allocations: 80.91 MB / 0.5845 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001634/0.3874, allocations: 0.5892 MB / 0.5851 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.3876, allocations: 42.64 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.3876, allocations: 1.219 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.3877, allocations: 0 / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.3878, allocations: 1.219 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.528e-05/0.3879, allocations: 7.531 kB / 0.5852 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.791e-05/0.3879, allocations: 7.281 kB / 0.5852 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.388, allocations: 6.859 kB / 0.5852 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.779e-05/0.388, allocations: 6.312 kB / 0.5852 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.3881, allocations: 9.078 kB / 0.5852 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3881, allocations: 0 / 0.5852 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.3881, allocations: 2.188 kB / 0.5852 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.3882, allocations: 6.391 kB / 0.5852 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.3882, allocations: 11.44 kB / 0.5852 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.888e-05/0.3883, allocations: 2.375 kB / 0.5852 GB, free: 24.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3883, allocations: 0 / 0.5852 GB, free: 24.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3883, allocations: 1.406 kB / 0.5852 GB, free: 24.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3883, allocations: 3.938 kB / 0.5852 GB, free: 24.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003584/0.3887, allocations: 331.2 kB / 0.5855 GB, free: 24.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3887, allocations: 11.61 kB / 0.5856 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.3887, allocations: 0.9375 kB / 0.5856 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3889, allocations: 181.3 kB / 0.5857 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3889, allocations: 5.219 kB / 0.5857 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3889, allocations: 384 / 0.5857 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.556e-05/0.389, allocations: 34.8 kB / 0.5858 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.389, allocations: 0 / 0.5858 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.3891, allocations: 0 / 0.5858 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3891, allocations: 2.344 kB / 0.5858 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.3891, allocations: 6.734 kB / 0.5858 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.3892, allocations: 153.8 kB / 0.5859 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.447e-05/0.3893, allocations: 25.98 kB / 0.5859 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.3893, allocations: 8.203 kB / 0.586 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3893, allocations: 0 / 0.586 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3893, allocations: 46.95 kB / 0.586 GB, free: 23.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3893, allocations: 3.938 kB / 0.586 GB, free: 23.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001299/0.3895, allocations: 39.41 kB / 0.586 GB, free: 23.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.3895, allocations: 51.41 kB / 0.5861 GB, free: 23.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.3896, allocations: 112.4 kB / 0.5862 GB, free: 23.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.3896, allocations: 26.42 kB / 0.5862 GB, free: 23.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.19e-05/0.3896, allocations: 85.89 kB / 0.5863 GB, free: 23.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.3896, allocations: 5.438 kB / 0.5863 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.3897, allocations: 11.69 kB / 0.5863 GB, free: 23.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.3897, allocations: 320.8 kB / 0.5866 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.3897, allocations: 8.469 kB / 0.5866 GB, free: 23.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.3898, allocations: 14.09 kB / 0.5866 GB, free: 23.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.3898, allocations: 23.23 kB / 0.5867 GB, free: 23.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3898, allocations: 0 / 0.5867 GB, free: 23.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.037e-05/0.3899, allocations: 56.09 kB / 0.5867 GB, free: 23.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3899, allocations: 5.312 kB / 0.5867 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3899, allocations: 1.469 kB / 0.5867 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3899, allocations: 0 / 0.5867 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.39, allocations: 3.031 kB / 0.5867 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.39, allocations: 1.25 kB / 0.5867 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.39, allocations: 2.75 kB / 0.5867 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.39, allocations: 5.172 kB / 0.5867 GB, free: 23.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.3901, allocations: 108.6 kB / 0.5868 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.3901, allocations: 5.844 kB / 0.5869 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.3902, allocations: 57.02 kB / 0.5869 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3902, allocations: 0 / 0.5869 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3902, allocations: 3.938 kB / 0.5869 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3902, allocations: 0.5625 kB / 0.5869 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.717e-05/0.3903, allocations: 160.7 kB / 0.5871 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3903, allocations: 0 / 0.5871 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.3903, allocations: 11.17 kB / 0.5871 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3904, allocations: 0 / 0.5871 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3904, allocations: 1.844 kB / 0.5871 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3904, allocations: 0 / 0.5871 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3904, allocations: 2.5 kB / 0.5871 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.3905, allocations: 86.67 kB / 0.5872 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.3905, allocations: 87.39 kB / 0.5872 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.3905, allocations: 1.656 kB / 0.5872 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.3906, allocations: 2.875 kB / 0.5872 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.3906, allocations: 1.062 kB / 0.5873 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3906, allocations: 1.344 kB / 0.5873 GB, free: 22.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.105e-05/0.3906, allocations: 94.11 kB / 0.5873 GB, free: 22.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3906, allocations: 0 / 0.5873 GB, free: 22.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001703/0.3908, allocations: 2.688 kB / 0.5873 GB, free: 22.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.426e-05/0.3909, allocations: 97.88 kB / 0.5874 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.391, allocations: 14.36 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.391, allocations: 1.25 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.391, allocations: 9.188 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.3911, allocations: 10.47 kB / 0.5875 GB, free: 22.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.3914, allocations: 145.8 kB / 0.5876 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.879e-05/0.3915, allocations: 0.6786 MB / 0.5883 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.3915, allocations: 12.66 kB / 0.5883 GB, free: 21.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3915, allocations: 0 / 0.5883 GB, free: 21.4 MB / 446.1 MB Notification: Performance of Templates: time 0.002003/0.3935, allocations: 0.5044 MB / 0.5888 GB, free: 21.16 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)