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.00571/0.00571, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001348/0.001348, allocations: 199 kB / 16.68 MB, free: 6.375 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8955/0.8955, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 66.75 kB / 0.5813 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1956, allocations: 80.2 MB / 0.6596 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001774/0.1975, allocations: 0.5763 MB / 0.6602 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.302e-05/0.1975, allocations: 7.984 kB / 0.6602 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.213e-05/0.1975, allocations: 0 / 0.6602 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.1976, allocations: 4 kB / 0.6602 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-06/0.1976, allocations: 7.938 kB / 0.6602 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.999e-05/0.1976, allocations: 0 / 0.6602 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.135e-05/0.1977, allocations: 0 / 0.6602 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.1978, allocations: 0 / 0.6602 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.1978, allocations: 0 / 0.6602 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.168e-05/0.1978, allocations: 7.938 kB / 0.6602 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1978, allocations: 0 / 0.6602 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-06/0.1978, allocations: 0 / 0.6602 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.1978, allocations: 0 / 0.6602 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.1979, allocations: 3.984 kB / 0.6602 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.506e-05/0.1979, allocations: 7.938 kB / 0.6602 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1979, allocations: 0 / 0.6602 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1979, allocations: 4 kB / 0.6602 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.198, allocations: 0 / 0.6602 GB, free: 12.84 MB / 0.4981 GB 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.0002854/0.1982, allocations: 311.6 kB / 0.6605 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1983, allocations: 8.031 kB / 0.6605 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.1983, allocations: 0.9375 kB / 0.6606 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.691e-05/0.1984, allocations: 168.4 kB / 0.6607 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.1984, allocations: 384 / 0.6607 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1984, allocations: 384 / 0.6607 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.283e-05/0.1985, allocations: 30.27 kB / 0.6607 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1986, allocations: 192 / 0.6607 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1986, allocations: 3.938 kB / 0.6607 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1986, allocations: 4 kB / 0.6607 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.1986, allocations: 4 kB / 0.6608 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.1988, allocations: 149.6 kB / 0.6609 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.027e-05/0.1988, allocations: 18.61 kB / 0.6609 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.1988, allocations: 4.859 kB / 0.6609 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.1989, allocations: 4 kB / 0.6609 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1989, allocations: 38.62 kB / 0.661 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.695e-06/0.1989, allocations: 0 / 0.661 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.199, allocations: 45.5 kB / 0.661 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.1991, allocations: 51.41 kB / 0.6611 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.104e-05/0.1991, allocations: 89.86 kB / 0.6611 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.1992, allocations: 25.7 kB / 0.6612 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.1992, allocations: 84.27 kB / 0.6612 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.1992, allocations: 0 / 0.6612 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.1993, allocations: 17.72 kB / 0.6613 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1995, allocations: 311.2 kB / 0.6616 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.1995, allocations: 0 / 0.6616 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/0.1995, allocations: 4 kB / 0.6616 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.1995, allocations: 4.859 kB / 0.6616 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1995, allocations: 3.938 kB / 0.6616 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001664/0.1997, allocations: 49.69 kB / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1997, allocations: 4 kB / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1997, allocations: 0 / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1998, allocations: 3.938 kB / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.1998, allocations: 0 / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1999, allocations: 4 kB / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.1999, allocations: 0 / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.1999, allocations: 3.984 kB / 0.6616 GB, free: 11.2 MB / 0.4981 GB 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 8.181e-05/0.2, allocations: 105.9 kB / 0.6617 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/0.2, allocations: 4 kB / 0.6617 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.2, allocations: 7.062 kB / 0.6617 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.2, allocations: 4 kB / 0.6617 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2, allocations: 3.984 kB / 0.6617 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2, allocations: 0 / 0.6617 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.2002, allocations: 145.6 kB / 0.6619 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.2002, allocations: 0 / 0.6619 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.2002, allocations: 4 kB / 0.6619 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.2002, allocations: 0 / 0.6619 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2002, allocations: 7.938 kB / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2002, allocations: 4 kB / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2002, allocations: 0 / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.385e-05/0.2003, allocations: 61.06 kB / 0.662 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.2003, allocations: 81.11 kB / 0.662 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.2004, allocations: 3.938 kB / 0.662 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-06/0.2004, allocations: 3.938 kB / 0.662 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.2004, allocations: 0 / 0.662 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.2004, allocations: 4.031 kB / 0.662 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.2004, allocations: 77.56 kB / 0.6621 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2004, allocations: 0 / 0.6621 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002062/0.2007, allocations: 4 kB / 0.6621 GB, free: 10.59 MB / 0.4981 GB 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 0.0001627/0.2008, allocations: 103.2 kB / 0.6622 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.85e-05/0.2009, allocations: 4 kB / 0.6622 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2009, allocations: 0 / 0.6622 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.2009, allocations: 4 kB / 0.6622 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.2011, allocations: 5.938 kB / 0.6622 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.2014, allocations: 88.84 kB / 0.6623 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.2017, allocations: 0.6729 MB / 0.663 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.2017, allocations: 4 kB / 0.663 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.2017, allocations: 7.438 kB / 0.663 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2017, allocations: 3.938 kB / 0.663 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of Templates: time 0.00227/0.204, allocations: 165.2 kB / 0.6632 GB, free: 9.48 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)