Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001122/0.001122, allocations: 186.4 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.332/1.332, allocations: 194.2 MB / 210.9 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03794/0.03794, allocations: 8.12 MB / 263.3 MB, free: 12.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002035/0.002035, allocations: 136 kB / 309.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 365.4 MB, free: 6.332 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2606, allocations: 45.27 MB / 410.7 MB, free: 66.82 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001992/0.2627, allocations: 475.3 kB / 411.1 MB, free: 66.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 9.474e-05/0.2628, allocations: 35.86 kB / 411.2 MB, free: 66.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.2628, allocations: 0 / 411.2 MB, free: 66.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.263, allocations: 12 kB / 411.2 MB, free: 66.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2631, allocations: 19.97 kB / 411.2 MB, free: 66.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.924e-05/0.2632, allocations: 11.94 kB / 411.2 MB, free: 66.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.414e-05/0.2633, allocations: 19.97 kB / 411.2 MB, free: 66.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.2633, allocations: 0 / 411.2 MB, free: 66.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.2634, allocations: 11.98 kB / 411.2 MB, free: 66.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.2635, allocations: 31.91 kB / 411.3 MB, free: 66.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.2635, allocations: 3.984 kB / 411.3 MB, free: 66.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.269e-05/0.2635, allocations: 8 kB / 411.3 MB, free: 66.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.2636, allocations: 3.938 kB / 411.3 MB, free: 66.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.2636, allocations: 8 kB / 411.3 MB, free: 66.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.669e-05/0.2637, allocations: 19.92 kB / 411.3 MB, free: 66.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2637, allocations: 0 / 411.3 MB, free: 66.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2637, allocations: 0 / 411.3 MB, free: 66.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2637, allocations: 0 / 411.3 MB, free: 66.18 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002856/0.264, allocations: 326.7 kB / 411.6 MB, free: 65.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2641, allocations: 8.031 kB / 411.6 MB, free: 65.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.2641, allocations: 0.9375 kB / 411.6 MB, free: 65.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.353e-05/0.2642, allocations: 164.4 kB / 411.8 MB, free: 65.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.2642, allocations: 8.312 kB / 411.8 MB, free: 65.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.2642, allocations: 4.375 kB / 411.8 MB, free: 65.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.2644, allocations: 30.27 kB / 411.8 MB, free: 65.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2644, allocations: 4.188 kB / 411.8 MB, free: 65.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2644, allocations: 3.938 kB / 411.8 MB, free: 65.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2644, allocations: 0 / 411.8 MB, free: 65.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.834e-05/0.2644, allocations: 7.984 kB / 411.9 MB, free: 65.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.2646, allocations: 153.7 kB / 412 MB, free: 65.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.2648, allocations: 38.55 kB / 412 MB, free: 65.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.2648, allocations: 12.92 kB / 412.1 MB, free: 65.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2648, allocations: 3.938 kB / 412.1 MB, free: 65.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.2648, allocations: 34.55 kB / 412.1 MB, free: 65.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2649, allocations: 0 / 412.1 MB, free: 65.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001345/0.265, allocations: 49.62 kB / 412.1 MB, free: 65.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.265, allocations: 55.39 kB / 412.2 MB, free: 65.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.578e-05/0.2651, allocations: 101.8 kB / 412.3 MB, free: 65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.2651, allocations: 29.7 kB / 412.3 MB, free: 64.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.493e-05/0.2651, allocations: 80.14 kB / 412.4 MB, free: 64.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.2652, allocations: 13.95 kB / 412.4 MB, free: 64.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.2652, allocations: 13.72 kB / 412.4 MB, free: 64.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.2652, allocations: 318.8 kB / 412.7 MB, free: 64.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.2653, allocations: 4.859 kB / 412.7 MB, free: 64.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.459e-05/0.2653, allocations: 25.84 kB / 412.8 MB, free: 64.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.2653, allocations: 25.7 kB / 412.8 MB, free: 64.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2653, allocations: 0 / 412.8 MB, free: 64.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.906e-05/0.2654, allocations: 49.62 kB / 412.8 MB, free: 64.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2654, allocations: 6.188 kB / 412.8 MB, free: 64.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2654, allocations: 7.938 kB / 412.9 MB, free: 64.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2655, allocations: 0 / 412.9 MB, free: 64.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.811e-05/0.2655, allocations: 4 kB / 412.9 MB, free: 64.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2655, allocations: 0 / 412.9 MB, free: 64.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.2655, allocations: 8.031 kB / 412.9 MB, free: 64.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.2655, allocations: 3.938 kB / 412.9 MB, free: 64.38 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE(fixed = true ) type: Real 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 (4): * Single equations (assignments): 4 * 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 0.0001306/0.2657, allocations: 127.9 kB / 413 MB, free: 64.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.2657, allocations: 0 / 413 MB, free: 64.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.214e-05/0.2658, allocations: 53.11 kB / 413 MB, free: 64.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2658, allocations: 0 / 413 MB, free: 64.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2658, allocations: 0 / 413 MB, free: 64.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2658, allocations: 4 kB / 413.1 MB, free: 64.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.932e-05/0.2659, allocations: 149.7 kB / 413.2 MB, free: 63.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2659, allocations: 7.984 kB / 413.2 MB, free: 63.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.266, allocations: 8 kB / 413.2 MB, free: 63.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.266, allocations: 0 / 413.2 MB, free: 63.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.266, allocations: 3.938 kB / 413.2 MB, free: 63.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.266, allocations: 0 / 413.2 MB, free: 63.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.266, allocations: 0 / 413.2 MB, free: 63.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008314/0.2668, allocations: 1.015 MB / 414.2 MB, free: 62.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.2669, allocations: 81.14 kB / 414.3 MB, free: 62.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-06/0.2669, allocations: 0 / 414.3 MB, free: 62.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.2669, allocations: 0 / 414.3 MB, free: 62.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.2669, allocations: 0 / 414.3 MB, free: 62.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.2669, allocations: 4 kB / 414.3 MB, free: 62.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.161e-05/0.2669, allocations: 79.38 kB / 414.4 MB, free: 62.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.267, allocations: 0 / 414.4 MB, free: 62.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000287/0.2672, allocations: 11.98 kB / 414.4 MB, free: 62.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (z) * 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 (3): * Single equations (assignments): 3 * 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.0002424/0.2675, allocations: 101.3 kB / 414.5 MB, free: 62.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.153e-05/0.2676, allocations: 20.08 kB / 414.5 MB, free: 62.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2676, allocations: 0 / 414.5 MB, free: 62.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-05/0.2676, allocations: 11.94 kB / 414.5 MB, free: 62.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.2678, allocations: 7.938 kB / 414.5 MB, free: 62.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.2681, allocations: 233.5 kB / 414.8 MB, free: 62.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.2683, allocations: 0.677 MB / 415.4 MB, free: 61.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.651e-05/0.2683, allocations: 12 kB / 415.5 MB, free: 61.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.2683, allocations: 11.44 kB / 415.5 MB, free: 61.46 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2683, allocations: 0 / 415.5 MB, free: 61.46 MB / 314.7 MB Notification: Performance of Templates: time 0.002424/0.2708, allocations: 474.2 kB / 415.9 MB, free: 61 MB / 314.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)