Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001563/0.001563, allocations: 104 kB / 16.35 MB, free: 5.824 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.001857/0.001857, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.372/1.372, 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/package.mo): time 0.8572/0.8572, allocations: 132.2 MB / 423.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 55.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3781, allocations: 80.19 MB / 0.5815 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002087/0.3802, allocations: 0.5863 MB / 0.5821 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 4.02e-05/0.3803, allocations: 3.938 kB / 0.5821 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.3803, allocations: 1.062 kB / 0.5821 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.3804, allocations: 0 / 0.5821 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.81e-06/0.3804, allocations: 1.031 kB / 0.5821 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.721e-05/0.3804, allocations: 5.125 kB / 0.5821 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.523e-05/0.3805, allocations: 5.078 kB / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.3805, allocations: 2.125 kB / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.154e-05/0.3805, allocations: 0 / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.599e-05/0.3806, allocations: 1.812 kB / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.3806, allocations: 0 / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.006e-06/0.3806, allocations: 1.062 kB / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.3806, allocations: 0.625 kB / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.3806, allocations: 1.406 kB / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.991e-05/0.3807, allocations: 8.453 kB / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3807, allocations: 1.938 kB / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3807, allocations: 0 / 0.5821 GB, free: 27.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3807, allocations: 1.031 kB / 0.5821 GB, free: 27.3 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.0002002/0.3809, allocations: 318 kB / 0.5824 GB, free: 26.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.381, allocations: 9.969 kB / 0.5824 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.381, allocations: 2.062 kB / 0.5824 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.509e-05/0.381, allocations: 160.4 kB / 0.5826 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3811, allocations: 1.969 kB / 0.5826 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.3811, allocations: 1 kB / 0.5826 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.953e-05/0.3811, allocations: 37.72 kB / 0.5826 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.3812, allocations: 192 / 0.5826 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3812, allocations: 3.938 kB / 0.5826 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3812, allocations: 1.781 kB / 0.5826 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.3812, allocations: 1.25 kB / 0.5826 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.267e-05/0.3813, allocations: 152.1 kB / 0.5827 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.127e-05/0.3813, allocations: 16.67 kB / 0.5828 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.3814, allocations: 14.39 kB / 0.5828 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.3814, allocations: 0 / 0.5828 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.3814, allocations: 35.78 kB / 0.5828 GB, free: 26.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3814, allocations: 0 / 0.5828 GB, free: 26.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.3815, allocations: 39.86 kB / 0.5828 GB, free: 26.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.3816, allocations: 56.58 kB / 0.5829 GB, free: 26.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.234e-05/0.3816, allocations: 89.86 kB / 0.583 GB, free: 26.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.3816, allocations: 25.7 kB / 0.583 GB, free: 26.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.207e-05/0.3816, allocations: 81.55 kB / 0.5831 GB, free: 26.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.3816, allocations: 4.531 kB / 0.5831 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.3817, allocations: 13.16 kB / 0.5831 GB, free: 26.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.3817, allocations: 311.7 kB / 0.5834 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.3817, allocations: 5.406 kB / 0.5834 GB, free: 25.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.3818, allocations: 2.094 kB / 0.5834 GB, free: 25.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/0.3818, allocations: 11.7 kB / 0.5834 GB, free: 25.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3818, allocations: 1.594 kB / 0.5834 GB, free: 25.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.108e-05/0.3818, allocations: 34.98 kB / 0.5835 GB, free: 25.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3819, allocations: 9.047 kB / 0.5835 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3819, allocations: 0 / 0.5835 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3819, allocations: 6.938 kB / 0.5835 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.3819, allocations: 1.469 kB / 0.5835 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.382, allocations: 0 / 0.5835 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.382, allocations: 0 / 0.5835 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.382, allocations: 2.656 kB / 0.5835 GB, free: 25.72 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.55e-05/0.382, allocations: 110.9 kB / 0.5836 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-06/0.382, allocations: 0.5938 kB / 0.5836 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.3821, allocations: 8.438 kB / 0.5836 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3821, allocations: 1.344 kB / 0.5836 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3821, allocations: 3.938 kB / 0.5836 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3821, allocations: 1.469 kB / 0.5836 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.513e-05/0.3821, allocations: 148.1 kB / 0.5837 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3821, allocations: 5.219 kB / 0.5837 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-06/0.3822, allocations: 1.219 kB / 0.5837 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.3822, allocations: 0 / 0.5837 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.3822, allocations: 5.125 kB / 0.5837 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3822, allocations: 0 / 0.5837 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3822, allocations: 1.344 kB / 0.5837 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.632e-05/0.3822, allocations: 60.25 kB / 0.5838 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.3823, allocations: 78.39 kB / 0.5839 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.3823, allocations: 5.406 kB / 0.5839 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-06/0.3823, allocations: 0 / 0.5839 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.3823, allocations: 1.25 kB / 0.5839 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.3823, allocations: 3.938 kB / 0.5839 GB, free: 25.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.135e-05/0.3823, allocations: 78.75 kB / 0.584 GB, free: 25.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3823, allocations: 0 / 0.584 GB, free: 25.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000195/0.3825, allocations: 1.125 kB / 0.584 GB, free: 25.14 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 6.48e-05/0.3826, allocations: 95.75 kB / 0.5841 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.644e-05/0.3827, allocations: 13.33 kB / 0.5841 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3827, allocations: 0 / 0.5841 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.3827, allocations: 1.562 kB / 0.5841 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.3828, allocations: 3.25 kB / 0.5841 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.383, allocations: 73.53 kB / 0.5841 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.3832, allocations: 0.6781 MB / 0.5848 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.134e-05/0.3832, allocations: 0.9688 kB / 0.5848 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.3832, allocations: 8.844 kB / 0.5848 GB, free: 24.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3832, allocations: 0 / 0.5848 GB, free: 24.25 MB / 446.1 MB Notification: Performance of Templates: time 0.002121/0.3853, allocations: 163.5 kB / 0.585 GB, free: 24.17 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)