Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.00129/0.00129, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9369/0.9369, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.91 kB / 0.5067 GB, free: 7.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3797, allocations: 80.91 MB / 0.5857 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001888/0.3816, allocations: 0.5817 MB / 0.5863 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.755e-05/0.3817, allocations: 13.11 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.3817, allocations: 1 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.3817, allocations: 0 / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.3818, allocations: 0.5 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.165e-05/0.3818, allocations: 2.094 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.039e-05/0.3819, allocations: 1.656 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.3819, allocations: 0.5312 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.3819, allocations: 1.438 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.772e-05/0.382, allocations: 1.156 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.382, allocations: 0 / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-06/0.382, allocations: 3.938 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.382, allocations: 6.109 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.382, allocations: 0.5 kB / 0.5863 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.253e-05/0.3821, allocations: 3.938 kB / 0.5864 GB, free: 25.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3821, allocations: 2.312 kB / 0.5864 GB, free: 25.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3821, allocations: 0 / 0.5864 GB, free: 25.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3821, allocations: 1.031 kB / 0.5864 GB, free: 25.44 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.0002524/0.3824, allocations: 318.1 kB / 0.5867 GB, free: 25.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3824, allocations: 10.95 kB / 0.5867 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.3825, allocations: 3.094 kB / 0.5867 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.527e-05/0.3825, allocations: 160.4 kB / 0.5868 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3825, allocations: 0.875 kB / 0.5868 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.3826, allocations: 1.5 kB / 0.5868 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.897e-05/0.3826, allocations: 32.42 kB / 0.5869 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3827, allocations: 0.9688 kB / 0.5869 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.3827, allocations: 5.094 kB / 0.5869 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3827, allocations: 1.375 kB / 0.5869 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.3827, allocations: 1.5 kB / 0.5869 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.3828, allocations: 155 kB / 0.587 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.18e-05/0.3828, allocations: 17.61 kB / 0.587 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.3829, allocations: 7.609 kB / 0.587 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.3829, allocations: 5.406 kB / 0.587 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.3829, allocations: 31.88 kB / 0.5871 GB, free: 24.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 3.646e-06/0.3829, allocations: 1.094 kB / 0.5871 GB, free: 24.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.3831, allocations: 42.69 kB / 0.5871 GB, free: 24.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.3831, allocations: 53.34 kB / 0.5872 GB, free: 24.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.679e-05/0.3831, allocations: 90.77 kB / 0.5873 GB, free: 24.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.3831, allocations: 25.7 kB / 0.5873 GB, free: 24.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/0.3831, allocations: 80.77 kB / 0.5874 GB, free: 24.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.3832, allocations: 5.312 kB / 0.5874 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.3832, allocations: 11.59 kB / 0.5874 GB, free: 24.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.124e-05/0.3833, allocations: 317 kB / 0.5877 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.3833, allocations: 0.625 kB / 0.5877 GB, free: 23.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.3833, allocations: 5.438 kB / 0.5877 GB, free: 23.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/0.3833, allocations: 8.641 kB / 0.5877 GB, free: 23.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3833, allocations: 4.875 kB / 0.5877 GB, free: 23.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.965e-05/0.3834, allocations: 35.41 kB / 0.5877 GB, free: 23.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3834, allocations: 5.594 kB / 0.5877 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3834, allocations: 0 / 0.5877 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3834, allocations: 6.625 kB / 0.5877 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.3835, allocations: 1.281 kB / 0.5877 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3835, allocations: 0 / 0.5877 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.3835, allocations: 5.188 kB / 0.5877 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.3835, allocations: 0.625 kB / 0.5877 GB, free: 23.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.225e-05/0.3836, allocations: 113.7 kB / 0.5879 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-06/0.3836, allocations: 5.25 kB / 0.5879 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.32e-05/0.3836, allocations: 7.062 kB / 0.5879 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.3836, allocations: 0.625 kB / 0.5879 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3836, allocations: 5.562 kB / 0.5879 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3836, allocations: 4.484 kB / 0.5879 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.527e-05/0.3837, allocations: 142.2 kB / 0.588 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3837, allocations: 1.844 kB / 0.588 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-06/0.3837, allocations: 1.344 kB / 0.588 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3837, allocations: 0.5625 kB / 0.588 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3837, allocations: 7.156 kB / 0.588 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.3837, allocations: 0 / 0.588 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3837, allocations: 0 / 0.588 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.467e-05/0.3837, allocations: 59.78 kB / 0.5881 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.3838, allocations: 78.8 kB / 0.5882 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.3838, allocations: 5.031 kB / 0.5882 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.3838, allocations: 1.156 kB / 0.5882 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-06/0.3838, allocations: 0 / 0.5882 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.3838, allocations: 1.094 kB / 0.5882 GB, free: 23.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.373e-05/0.3838, allocations: 79.81 kB / 0.5882 GB, free: 23.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3838, allocations: 2.438 kB / 0.5882 GB, free: 23.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000188/0.384, allocations: 0 / 0.5882 GB, free: 23.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 7.13e-05/0.3841, allocations: 97.95 kB / 0.5883 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.873e-05/0.3842, allocations: 7.281 kB / 0.5883 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3842, allocations: 4.781 kB / 0.5883 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.139e-06/0.3842, allocations: 1.656 kB / 0.5883 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.3843, allocations: 1.469 kB / 0.5883 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.3845, allocations: 80.97 kB / 0.5884 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.472e-05/0.3846, allocations: 0.6701 MB / 0.5891 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.198e-05/0.3846, allocations: 3.984 kB / 0.5891 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.3847, allocations: 8.5 kB / 0.5891 GB, free: 22.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3847, allocations: 0 / 0.5891 GB, free: 22.4 MB / 446.1 MB Notification: Performance of Templates: time 0.001782/0.3864, allocations: 170.8 kB / 0.5893 GB, free: 22.31 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)