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.00172/0.00172, allocations: 106.9 kB / 16.27 MB, free: 6.414 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.002289/0.002289, allocations: 189.3 kB / 17.2 MB, free: 5.953 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 / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8245/0.8245, allocations: 135.2 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.88 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 80.91 MB / 0.5851 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001722/0.3149, allocations: 0.5965 MB / 0.5856 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.879e-05/0.3149, allocations: 5.375 kB / 0.5856 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.3149, allocations: 0.7188 kB / 0.5856 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.315, allocations: 3.938 kB / 0.5856 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-06/0.315, allocations: 0.625 kB / 0.5856 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.901e-05/0.315, allocations: 1.031 kB / 0.5856 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.398e-05/0.3151, allocations: 2.312 kB / 0.5856 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.3151, allocations: 1.062 kB / 0.5856 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.561e-05/0.3152, allocations: 1.219 kB / 0.5856 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.518e-05/0.3152, allocations: 0.8438 kB / 0.5857 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.3152, allocations: 0 / 0.5857 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-06/0.3152, allocations: 0.7812 kB / 0.5857 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.3152, allocations: 5.078 kB / 0.5857 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.3152, allocations: 1.156 kB / 0.5857 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.533e-05/0.3153, allocations: 5.25 kB / 0.5857 GB, free: 24.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3153, allocations: 0 / 0.5857 GB, free: 24.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3153, allocations: 0.5 kB / 0.5857 GB, free: 24.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3153, allocations: 0 / 0.5857 GB, free: 24.95 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.0001958/0.3155, allocations: 316.5 kB / 0.586 GB, free: 24.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3156, allocations: 9.859 kB / 0.586 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.3156, allocations: 3.656 kB / 0.586 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.082e-05/0.3156, allocations: 160.4 kB / 0.5861 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3157, allocations: 384 / 0.5861 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.3157, allocations: 1.812 kB / 0.5861 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.49e-05/0.3157, allocations: 32.3 kB / 0.5862 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3158, allocations: 4.828 kB / 0.5862 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.3158, allocations: 7.344 kB / 0.5862 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.3158, allocations: 0 / 0.5862 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.3158, allocations: 1.438 kB / 0.5862 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.15e-05/0.3159, allocations: 147.1 kB / 0.5863 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.08e-05/0.3159, allocations: 16.61 kB / 0.5863 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.316, allocations: 8.391 kB / 0.5863 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.316, allocations: 1.281 kB / 0.5863 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.316, allocations: 35.69 kB / 0.5864 GB, free: 24.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.316, allocations: 4.594 kB / 0.5864 GB, free: 24.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.3161, allocations: 43.84 kB / 0.5864 GB, free: 24.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.3161, allocations: 52.12 kB / 0.5865 GB, free: 23.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.655e-05/0.3162, allocations: 89.86 kB / 0.5866 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.3162, allocations: 26.52 kB / 0.5866 GB, free: 23.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-06/0.3162, allocations: 81.27 kB / 0.5867 GB, free: 23.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3162, allocations: 4.531 kB / 0.5867 GB, free: 23.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.3162, allocations: 12.19 kB / 0.5867 GB, free: 23.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.3163, allocations: 316 kB / 0.587 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.3163, allocations: 1.969 kB / 0.587 GB, free: 23.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/0.3163, allocations: 1.5 kB / 0.587 GB, free: 23.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.3164, allocations: 11.55 kB / 0.587 GB, free: 23.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3164, allocations: 2.219 kB / 0.587 GB, free: 23.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.115e-05/0.3164, allocations: 34.84 kB / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3164, allocations: 8.625 kB / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3164, allocations: 0.7812 kB / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3164, allocations: 5.469 kB / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.3165, allocations: 2.531 kB / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3165, allocations: 0 / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-06/0.3165, allocations: 1.156 kB / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-06/0.3165, allocations: 0.625 kB / 0.587 GB, free: 23.38 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.059e-05/0.3166, allocations: 111.7 kB / 0.5872 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-06/0.3166, allocations: 3.094 kB / 0.5872 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.395e-05/0.3166, allocations: 11.05 kB / 0.5872 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.3166, allocations: 0 / 0.5872 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3166, allocations: 0 / 0.5872 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3166, allocations: 6.75 kB / 0.5872 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.972e-05/0.3167, allocations: 141.7 kB / 0.5873 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3167, allocations: 1.562 kB / 0.5873 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-06/0.3167, allocations: 7.25 kB / 0.5873 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.3167, allocations: 0 / 0.5873 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.3167, allocations: 3.938 kB / 0.5873 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3167, allocations: 0 / 0.5873 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3167, allocations: 6.359 kB / 0.5873 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.216e-05/0.3168, allocations: 59.09 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.3168, allocations: 78.36 kB / 0.5875 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.3168, allocations: 5.156 kB / 0.5875 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/0.3168, allocations: 1.438 kB / 0.5875 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.3168, allocations: 0.7812 kB / 0.5875 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.3168, allocations: 1.375 kB / 0.5875 GB, free: 22.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.209e-05/0.3168, allocations: 76.69 kB / 0.5875 GB, free: 22.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3169, allocations: 3.938 kB / 0.5875 GB, free: 22.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001989/0.3171, allocations: 5.141 kB / 0.5875 GB, free: 22.8 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.915e-05/0.3171, allocations: 95.16 kB / 0.5876 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.455e-05/0.3172, allocations: 12.53 kB / 0.5876 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3172, allocations: 0 / 0.5876 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.741e-06/0.3172, allocations: 4.312 kB / 0.5877 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.3174, allocations: 2.188 kB / 0.5877 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001548/0.3175, allocations: 101.1 kB / 0.5878 GB, free: 22.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.702e-05/0.3176, allocations: 0.6752 MB / 0.5884 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.3176, allocations: 11.38 kB / 0.5884 GB, free: 21.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3176, allocations: 3.469 kB / 0.5884 GB, free: 21.87 MB / 446.1 MB Notification: Performance of Templates: time 0.001523/0.3192, allocations: 327.6 kB / 0.5887 GB, free: 21.72 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)