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.001029/0.001029, allocations: 184.1 kB / 7.654 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.365/1.365, allocations: 194.3 MB / 202.4 MB, free: 12.96 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03685/0.03685, allocations: 7.906 MB / 255.2 MB, free: 8.184 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.001702/0.001702, allocations: 118.5 kB / 301.9 MB, free: 32.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.764e-05, allocations: 4 kB / 354.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.251, allocations: 46.18 MB / 400.6 MB, free: 46.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08553/0.3366, allocations: 70.26 MB / 470.8 MB, free: 4.562 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001557/0.3368, allocations: 46.05 kB / 470.9 MB, free: 4.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001802/0.3386, allocations: 0.6471 MB / 471.5 MB, free: 3.879 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3386, allocations: 3.719 kB / 471.5 MB, free: 3.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3386, allocations: 0 / 471.5 MB, free: 3.879 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.0002394/0.3389, allocations: 314.8 kB / 471.8 MB, free: 3.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3389, allocations: 12.03 kB / 471.8 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.339, allocations: 1.031 kB / 471.8 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.3391, allocations: 167 kB / 472 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3391, allocations: 0 / 472 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3391, allocations: 0 / 472 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.367e-05/0.3392, allocations: 11.94 kB / 472 MB, free: 3.309 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.86e-05/0.3393, allocations: 35.95 kB / 472 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3393, allocations: 1.781 kB / 472.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3393, allocations: 2.125 kB / 472.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3393, allocations: 0 / 472.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.3395, allocations: 134.2 kB / 472.2 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3396, allocations: 37.12 kB / 472.2 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.3397, allocations: 9.062 kB / 472.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.3397, allocations: 3.984 kB / 472.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3397, allocations: 35.09 kB / 472.3 MB, free: 3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3397, allocations: 4.75 kB / 472.3 MB, free: 2.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001815/0.3399, allocations: 42.47 kB / 472.3 MB, free: 2.949 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.34, allocations: 52.06 kB / 472.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.53e-05/0.34, allocations: 86.53 kB / 472.4 MB, free: 2.797 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.34, allocations: 32.11 kB / 472.5 MB, free: 2.762 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.3401, allocations: 80.14 kB / 472.6 MB, free: 2.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3401, allocations: 15.75 kB / 472.6 MB, free: 2.664 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.3401, allocations: 0 / 472.6 MB, free: 2.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3402, allocations: 310.8 kB / 472.9 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.3403, allocations: 14.58 kB / 472.9 MB, free: 2.336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.3403, allocations: 21.7 kB / 472.9 MB, free: 2.309 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.7e-05/0.3403, allocations: 9.641 kB / 472.9 MB, free: 2.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3404, allocations: 4.438 kB / 472.9 MB, free: 2.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.352e-05/0.3404, allocations: 46.72 kB / 473 MB, free: 2.246 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3405, allocations: 12.7 kB / 473 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3405, allocations: 0.8438 kB / 473 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3405, allocations: 0 / 473 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-05/0.3405, allocations: 8 kB / 473 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3405, allocations: 5.234 kB / 473 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.3406, allocations: 0 / 473 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3406, allocations: 4 kB / 473 MB, free: 2.219 MB / 314.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.897e-05/0.3407, allocations: 114.3 kB / 473.1 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.075e-05/0.3408, allocations: 48.56 kB / 473.2 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.3408, allocations: 4.453 kB / 473.2 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.3409, allocations: 63.3 kB / 473.2 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3409, allocations: 0.875 kB / 473.2 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.341, allocations: 0 / 473.2 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.341, allocations: 0.5 kB / 473.2 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.971e-05/0.341, allocations: 132.1 kB / 473.4 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3411, allocations: 0 / 473.4 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.3411, allocations: 8.656 kB / 473.4 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3411, allocations: 4 kB / 473.4 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3411, allocations: 4.641 kB / 473.4 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3411, allocations: 0 / 473.4 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3411, allocations: 0.75 kB / 473.4 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.3413, allocations: 78.17 kB / 473.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.3413, allocations: 77.92 kB / 473.5 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3413, allocations: 6.656 kB / 473.5 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/0.3413, allocations: 4.828 kB / 473.5 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.3414, allocations: 0 / 473.5 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.3414, allocations: 4.781 kB / 473.5 MB, free: 1.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.285e-05/0.3414, allocations: 75.28 kB / 473.6 MB, free: 1.531 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3414, allocations: 0.8125 kB / 473.6 MB, free: 1.531 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.3416, allocations: 15.06 kB / 473.6 MB, free: 1.52 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 () * 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.000352/0.342, allocations: 0.622 MB / 474.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.46e-05/0.342, allocations: 16.7 kB / 474.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.342, allocations: 0.7188 kB / 474.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-05/0.3421, allocations: 12.5 kB / 474.3 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.496e-05/0.3422, allocations: 8.484 kB / 474.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.3425, allocations: 106.3 kB / 474.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.3427, allocations: 0.6773 MB / 475.1 MB, free: 0 / 314.7 MB Notification: Performance of simCode: alias equations: time 5.639e-05/0.3427, allocations: 11.52 kB / 475.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.3428, allocations: 14.5 kB / 475.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3428, allocations: 0.5 kB / 475.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.3614, allocations: 0.7315 MB / 475.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.3617, allocations: 166.6 kB / 476 MB, free: 15.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.352/1.714, allocations: 0 / 476 MB, free: 15.11 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)