Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.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: "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001007/0.001007, allocations: 182 kB / 12.74 MB, free: 2.582 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.287/1.287, allocations: 194.3 MB / 207.5 MB, free: 3.398 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03453/0.03453, allocations: 7.909 MB / 260.4 MB, free: 13.77 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.001616/0.001616, allocations: 136.3 kB / 307.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.157e-05, allocations: 4 kB / 361.3 MB, free: 8.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2199, allocations: 46.2 MB / 407.5 MB, free: 67.04 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07871/0.2986, allocations: 70.92 MB / 478.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001279/0.2988, allocations: 51.92 kB / 478.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001552/0.3004, allocations: 0.6511 MB / 479.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3004, allocations: 0 / 479.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3004, allocations: 0 / 479.2 MB, free: 11.31 MB / 330.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.0002267/0.3006, allocations: 310.6 kB / 479.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3007, allocations: 12.03 kB / 479.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.3007, allocations: 38.56 kB / 479.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.779e-05/0.3007, allocations: 0 / 479.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.832e-05/0.3008, allocations: 167 kB / 479.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.3008, allocations: 3.984 kB / 479.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.3009, allocations: 4 kB / 479.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.176e-05/0.301, allocations: 33.69 kB / 479.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.301, allocations: 0 / 479.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.301, allocations: 4 kB / 479.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.301, allocations: 4 kB / 479.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.301, allocations: 4 kB / 479.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.3012, allocations: 161.7 kB / 479.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3014, allocations: 30.52 kB / 479.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.3014, allocations: 12.92 kB / 479.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.3014, allocations: 4 kB / 479.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.3015, allocations: 34.64 kB / 480 MB, free: 10.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3015, allocations: 0 / 480 MB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001197/0.3016, allocations: 49.61 kB / 480 MB, free: 10.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.3016, allocations: 51.41 kB / 480.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.596e-05/0.3017, allocations: 85 kB / 480.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3017, allocations: 25.7 kB / 480.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.3017, allocations: 84.12 kB / 480.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.3018, allocations: 11.84 kB / 480.3 MB, free: 10 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.3018, allocations: 3.938 kB / 480.3 MB, free: 9.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3019, allocations: 314.8 kB / 480.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.3019, allocations: 12.86 kB / 480.6 MB, free: 9.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.302, allocations: 17.72 kB / 480.6 MB, free: 9.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.302, allocations: 15.92 kB / 480.6 MB, free: 9.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.302, allocations: 0 / 480.6 MB, free: 9.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.812e-05/0.3021, allocations: 57.58 kB / 480.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3021, allocations: 4 kB / 480.7 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3021, allocations: 0 / 480.7 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.3021, allocations: 0 / 480.7 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.278e-05/0.3022, allocations: 12.03 kB / 480.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3022, allocations: 0 / 480.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.3022, allocations: 7.938 kB / 480.7 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.3022, allocations: 0 / 480.7 MB, free: 9.539 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE() 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/0.3023, allocations: 109 kB / 480.8 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/0.3023, allocations: 7.859 kB / 480.8 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.3025, allocations: 69.28 kB / 480.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3025, allocations: 0 / 480.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3025, allocations: 0 / 480.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3025, allocations: 0 / 480.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.3026, allocations: 153.7 kB / 481 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3026, allocations: 0 / 481 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.3027, allocations: 8 kB / 481 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3027, allocations: 3.953 kB / 481 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3027, allocations: 4 kB / 481 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3027, allocations: 4 kB / 481.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3027, allocations: 0 / 481.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.3028, allocations: 77.06 kB / 481.1 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.3029, allocations: 77.11 kB / 481.2 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3029, allocations: 7.938 kB / 481.2 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.3029, allocations: 4 kB / 481.2 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.3029, allocations: 4.031 kB / 481.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.3029, allocations: 4 kB / 481.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.692e-05/0.303, allocations: 79.34 kB / 481.3 MB, free: 8.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.303, allocations: 0 / 481.3 MB, free: 8.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.3032, allocations: 12 kB / 481.3 MB, free: 8.828 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003619/0.3035, allocations: 0.619 MB / 481.9 MB, free: 8.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.61e-05/0.3036, allocations: 19.94 kB / 481.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3036, allocations: 4.125 kB / 482 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.3037, allocations: 11.98 kB / 482 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.639e-05/0.3037, allocations: 7.891 kB / 482 MB, free: 8.137 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.3041, allocations: 108.7 kB / 482.1 MB, free: 7.996 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.3043, allocations: 0.6731 MB / 482.8 MB, free: 7.297 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.05e-05/0.3044, allocations: 15.98 kB / 482.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.3044, allocations: 15.38 kB / 482.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3044, allocations: 0 / 482.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01014/0.3146, allocations: 1.038 MB / 483.8 MB, free: 6.355 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.3148, allocations: 179.9 kB / 484 MB, free: 6.129 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.395/1.71, allocations: 0 / 484 MB, free: 6.129 MB / 330.7 MB (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1)