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: "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",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.001454/0.001454, allocations: 183.4 kB / 7.654 MB, free: 1.41 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.33/1.33, 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.03722/0.03722, allocations: 7.913 MB / 255.2 MB, free: 8.18 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.001666/0.001666, allocations: 127.7 kB / 301.9 MB, free: 32.15 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.646e-05, allocations: 4 kB / 354.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2424, allocations: 46.18 MB / 400.6 MB, free: 46.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0832/0.3256, allocations: 70.24 MB / 470.8 MB, free: 4.652 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001391/0.3258, allocations: 48.81 kB / 470.8 MB, free: 4.609 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001424/0.3273, allocations: 0.6536 MB / 471.5 MB, free: 3.965 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3273, allocations: 0 / 471.5 MB, free: 3.965 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3273, allocations: 0 / 471.5 MB, free: 3.965 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.0002349/0.3275, allocations: 313.5 kB / 471.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3276, allocations: 12.03 kB / 471.8 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.3276, allocations: 1.031 kB / 471.8 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3277, allocations: 167 kB / 472 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3278, allocations: 7.75 kB / 472 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3278, allocations: 0 / 472 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.264e-05/0.3279, allocations: 10.22 kB / 472 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.29e-05/0.3279, allocations: 40.78 kB / 472 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.328, allocations: 0 / 472 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.328, allocations: 0 / 472 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.328, allocations: 0 / 472 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.3281, allocations: 123 kB / 472.2 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.3283, allocations: 38.56 kB / 472.2 MB, free: 3.148 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.3283, allocations: 9.797 kB / 472.2 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3284, allocations: 6.266 kB / 472.2 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.3284, allocations: 40.34 kB / 472.3 MB, free: 3.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.3284, allocations: 0 / 472.3 MB, free: 3.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000122/0.3285, allocations: 47.92 kB / 472.3 MB, free: 3.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.3286, allocations: 51.41 kB / 472.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.3286, allocations: 86.84 kB / 472.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3287, allocations: 25.7 kB / 472.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.3287, allocations: 84.14 kB / 472.5 MB, free: 2.766 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.3287, allocations: 12.42 kB / 472.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.3288, allocations: 0.5938 kB / 472.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3289, allocations: 311.5 kB / 472.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.3289, allocations: 13.64 kB / 472.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.329, allocations: 14.69 kB / 472.9 MB, free: 2.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.833e-05/0.329, allocations: 4 kB / 472.9 MB, free: 2.402 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.329, allocations: 4.516 kB / 472.9 MB, free: 2.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.941e-05/0.3291, allocations: 46.36 kB / 472.9 MB, free: 2.348 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3291, allocations: 11.89 kB / 473 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3291, allocations: 0.75 kB / 473 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3291, allocations: 4 kB / 473 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.348e-05/0.3292, allocations: 8.734 kB / 473 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3292, allocations: 2.25 kB / 473 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.3292, allocations: 4.562 kB / 473 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.3292, allocations: 1.062 kB / 473 MB, free: 2.32 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 0.0001099/0.3293, allocations: 110.3 kB / 473.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.056e-05/0.3294, allocations: 53.53 kB / 473.1 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.3294, allocations: 4.797 kB / 473.1 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.563e-05/0.3295, allocations: 48.44 kB / 473.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3295, allocations: 2.5 kB / 473.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3295, allocations: 0 / 473.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3295, allocations: 4.594 kB / 473.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.577e-05/0.3296, allocations: 126.2 kB / 473.3 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3296, allocations: 0.5 kB / 473.3 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.3297, allocations: 4.656 kB / 473.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.3297, allocations: 7.953 kB / 473.3 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3297, allocations: 0.625 kB / 473.3 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3297, allocations: 0 / 473.3 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3297, allocations: 4.594 kB / 473.3 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.3298, allocations: 70.31 kB / 473.4 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.3299, allocations: 89.66 kB / 473.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.33, allocations: 6.453 kB / 473.5 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.33, allocations: 0.625 kB / 473.5 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.33, allocations: 10.19 kB / 473.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.33, allocations: 0 / 473.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.65e-05/0.3301, allocations: 76.62 kB / 473.6 MB, free: 1.641 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3301, allocations: 0 / 473.6 MB, free: 1.641 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000199/0.3303, allocations: 8.031 kB / 473.6 MB, free: 1.637 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.0005484/0.3308, allocations: 0.6298 MB / 474.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.029e-05/0.3309, allocations: 17.78 kB / 474.2 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3309, allocations: 0 / 474.2 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.3309, allocations: 4 kB / 474.2 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.331, allocations: 3.953 kB / 474.2 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.3318, allocations: 218.5 kB / 474.5 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.3322, allocations: 0.6775 MB / 475.1 MB, free: 24 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.523e-05/0.3322, allocations: 8.312 kB / 475.1 MB, free: 20 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.3323, allocations: 16.2 kB / 475.2 MB, free: 8 kB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3323, allocations: 0 / 475.2 MB, free: 8 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3577, allocations: 0.7655 MB / 475.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/0.358, allocations: 183.9 kB / 476.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.422/1.78, allocations: 0 / 476.1 MB, free: 15.09 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)