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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001218/0.001217, allocations: 193.4 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1149/0.1149, allocations: 8.106 MB / 277.6 MB, free: 13.33 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 71.89 kB / 336.8 MB, free: 26.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06905/0.07041, allocations: 48.3 MB / 385.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001359/0.07179, allocations: 463.9 kB / 385.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002355/0.07204, allocations: 69.47 kB / 385.6 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-06/0.07206, allocations: 4 kB / 385.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.07209, allocations: 0 / 385.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.0721, allocations: 0 / 385.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.07244, allocations: 59.92 kB / 385.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.0725, allocations: 15.98 kB / 385.7 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.07254, allocations: 0 / 385.7 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.07257, allocations: 15.92 kB / 385.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.07264, allocations: 31.95 kB / 385.7 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.07266, allocations: 0 / 385.7 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.07275, allocations: 31.92 kB / 385.8 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.07277, allocations: 4 kB / 385.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.07279, allocations: 7.984 kB / 385.8 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.612e-05/0.07288, allocations: 31.89 kB / 385.8 MB, free: 9.695 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.07289, allocations: 0 / 385.8 MB, free: 9.695 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0729, allocations: 0 / 385.8 MB, free: 9.695 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.07291, allocations: 0 / 385.8 MB, free: 9.695 MB / 286.1 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.0002815/0.07319, allocations: 323.6 kB / 386.1 MB, free: 9.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.07323, allocations: 8.031 kB / 386.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.07327, allocations: 30.75 kB / 386.2 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.0733, allocations: 4.938 kB / 386.2 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/0.07339, allocations: 160.4 kB / 386.3 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.0734, allocations: 4.375 kB / 386.3 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.07342, allocations: 384 / 386.3 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.394e-05/0.07352, allocations: 42.19 kB / 386.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.07354, allocations: 7.875 kB / 386.4 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.07355, allocations: 0 / 386.4 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.07356, allocations: 8 kB / 386.4 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.443e-05/0.0736, allocations: 7.984 kB / 386.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.07374, allocations: 153.6 kB / 386.5 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.0739, allocations: 38.64 kB / 386.6 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.07393, allocations: 12.84 kB / 386.6 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.07397, allocations: 3.938 kB / 386.6 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.07399, allocations: 34.56 kB / 386.6 MB, free: 8.699 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.074, allocations: 0 / 386.6 MB, free: 8.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001192/0.07412, allocations: 49.62 kB / 386.7 MB, free: 8.645 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.07416, allocations: 59.41 kB / 386.7 MB, free: 8.574 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.002e-05/0.07421, allocations: 89.86 kB / 386.8 MB, free: 8.477 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.07423, allocations: 33.64 kB / 386.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.07426, allocations: 84.12 kB / 386.9 MB, free: 8.352 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.07429, allocations: 8.125 kB / 386.9 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.07433, allocations: 17.72 kB / 387 MB, free: 8.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.07444, allocations: 310.8 kB / 387.3 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.07447, allocations: 16.78 kB / 387.3 MB, free: 7.988 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.0745, allocations: 21.72 kB / 387.3 MB, free: 7.961 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.07455, allocations: 29.98 kB / 387.3 MB, free: 7.926 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.07456, allocations: 0 / 387.3 MB, free: 7.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.295e-05/0.07463, allocations: 57.61 kB / 387.4 MB, free: 7.863 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.07465, allocations: 6.188 kB / 387.4 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.07466, allocations: 3.938 kB / 387.4 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.07468, allocations: 0 / 387.4 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.037e-05/0.07473, allocations: 12.03 kB / 387.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.07474, allocations: 0 / 387.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.07475, allocations: 3.906 kB / 387.4 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.07478, allocations: 15.98 kB / 387.4 MB, free: 7.824 MB / 286.1 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.0001026/0.07488, allocations: 105.8 kB / 387.5 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.0749, allocations: 0 / 387.5 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.07502, allocations: 73.05 kB / 387.6 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.07503, allocations: 0 / 387.6 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.07504, allocations: 0 / 387.6 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.07505, allocations: 0 / 387.6 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.661e-05/0.07515, allocations: 149.7 kB / 387.7 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.07515, allocations: 0 / 387.7 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.07519, allocations: 8 kB / 387.8 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.0752, allocations: 0 / 387.8 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.07521, allocations: 3.938 kB / 387.8 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.07522, allocations: 4 kB / 387.8 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.07523, allocations: 3.938 kB / 387.8 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.07534, allocations: 81.05 kB / 387.8 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.07538, allocations: 81.14 kB / 387.9 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.0754, allocations: 7.938 kB / 387.9 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/0.07542, allocations: 0 / 387.9 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.07543, allocations: 3.984 kB / 387.9 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.07544, allocations: 4.062 kB / 387.9 MB, free: 7.199 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.124e-05/0.07548, allocations: 91.22 kB / 388 MB, free: 7.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07549, allocations: 0 / 388 MB, free: 7.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00018/0.07567, allocations: 12 kB / 388 MB, free: 7.098 MB / 286.1 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.0003409/0.07602, allocations: 0.6202 MB / 388.7 MB, free: 6.449 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.773e-05/0.0761, allocations: 20.05 kB / 388.7 MB, free: 6.43 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.0761, allocations: 0 / 388.7 MB, free: 6.43 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.186e-05/0.07613, allocations: 12 kB / 388.7 MB, free: 6.418 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.07625, allocations: 0 / 388.7 MB, free: 6.418 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.07698, allocations: 1.104 MB / 389.8 MB, free: 5.227 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.07719, allocations: 0.6805 MB / 390.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.693e-05/0.07723, allocations: 8 kB / 390.5 MB, free: 4.512 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.07727, allocations: 15.38 kB / 390.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.07728, allocations: 0 / 390.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01035/0.08763, allocations: 1.151 MB / 391.7 MB, free: 3.445 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.0878, allocations: 234.2 kB / 391.9 MB, free: 3.188 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/1.626, allocations: 4 kB / 391.9 MB, free: 3.184 MB / 286.1 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/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)