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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001073/0.001073, allocations: 194.3 kB / 16.14 MB, free: 6.715 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.505/1.505, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04589/0.04589, allocations: 8.11 MB / 277.4 MB, free: 13.39 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.00129/0.001291, allocations: 68.52 kB / 336.6 MB, free: 26.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08722, allocations: 48.3 MB / 384.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001703/0.08895, allocations: 473.6 kB / 385.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 7.839e-05/0.08905, allocations: 43.8 kB / 385.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.08909, allocations: 0 / 385.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.966e-05/0.08918, allocations: 4 kB / 385.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.08926, allocations: 27.97 kB / 385.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.41e-05/0.0893, allocations: 7.938 kB / 385.4 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.656e-05/0.08934, allocations: 19.97 kB / 385.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.562e-05/0.08937, allocations: 0 / 385.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.08939, allocations: 11.98 kB / 385.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.08945, allocations: 31.95 kB / 385.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.835e-06/0.08946, allocations: 3.938 kB / 385.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.164e-05/0.0895, allocations: 8 kB / 385.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.08952, allocations: 11.88 kB / 385.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.08954, allocations: 0 / 385.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.893e-05/0.08962, allocations: 19.98 kB / 385.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.08964, allocations: 0 / 385.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.08964, allocations: 0 / 385.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.08965, allocations: 3.938 kB / 385.6 MB, free: 9.867 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.0002813/0.08994, allocations: 319.6 kB / 385.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.08998, allocations: 8.031 kB / 385.9 MB, free: 9.496 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.097e-05/0.09001, allocations: 30.75 kB / 385.9 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.09004, allocations: 4.938 kB / 385.9 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.09017, allocations: 172.3 kB / 386.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-06/0.09018, allocations: 384 / 386.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.0902, allocations: 384 / 386.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.256e-05/0.09027, allocations: 34.27 kB / 386.1 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.09028, allocations: 3.938 kB / 386.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-06/0.09029, allocations: 0 / 386.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-06/0.0903, allocations: 0 / 386.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.09033, allocations: 11.92 kB / 386.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.09045, allocations: 157.7 kB / 386.3 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.09058, allocations: 34.61 kB / 386.3 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.09061, allocations: 8.922 kB / 386.3 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.09062, allocations: 0 / 386.3 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.09065, allocations: 34.56 kB / 386.4 MB, free: 8.891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.09066, allocations: 4 kB / 386.4 MB, free: 8.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 9.916e-05/0.09076, allocations: 53.75 kB / 386.4 MB, free: 8.828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.09079, allocations: 55.41 kB / 386.5 MB, free: 8.762 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.413e-05/0.09085, allocations: 93.84 kB / 386.6 MB, free: 8.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.09087, allocations: 25.7 kB / 386.6 MB, free: 8.629 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.0909, allocations: 80.14 kB / 386.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.09092, allocations: 12.12 kB / 386.7 MB, free: 8.535 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.09095, allocations: 17.72 kB / 386.7 MB, free: 8.512 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.09106, allocations: 314.8 kB / 387 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.09108, allocations: 16.98 kB / 387 MB, free: 8.176 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.09111, allocations: 17.7 kB / 387 MB, free: 8.152 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.09115, allocations: 29.64 kB / 387.1 MB, free: 8.117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.09116, allocations: 0 / 387.1 MB, free: 8.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.406e-05/0.09124, allocations: 57.53 kB / 387.1 MB, free: 8.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.09126, allocations: 14.12 kB / 387.1 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.09127, allocations: 3.938 kB / 387.1 MB, free: 8.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.341e-06/0.09128, allocations: 4.031 kB / 387.1 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.688e-05/0.09131, allocations: 7.938 kB / 387.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.09132, allocations: 4 kB / 387.2 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.09134, allocations: 4 kB / 387.2 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.09135, allocations: 0 / 387.2 MB, free: 8.02 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.0001361/0.09149, allocations: 109.8 kB / 387.3 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.09151, allocations: 3.938 kB / 387.3 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.296e-05/0.0916, allocations: 57.11 kB / 387.3 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.09162, allocations: 8 kB / 387.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.09162, allocations: 0 / 387.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-06/0.09163, allocations: 0 / 387.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.09174, allocations: 145.7 kB / 387.5 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.09174, allocations: 0 / 387.5 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.09178, allocations: 7.984 kB / 387.5 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.09179, allocations: 3.938 kB / 387.5 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.0918, allocations: 0 / 387.5 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.09181, allocations: 0 / 387.5 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.09181, allocations: 0 / 387.5 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.441e-05/0.09191, allocations: 81.03 kB / 387.6 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.09195, allocations: 77.11 kB / 387.6 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.09196, allocations: 3.938 kB / 387.6 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.272e-05/0.09198, allocations: 7.969 kB / 387.7 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.092, allocations: 3.984 kB / 387.7 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.092, allocations: 0 / 387.7 MB, free: 7.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.09204, allocations: 83.28 kB / 387.7 MB, free: 7.328 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09205, allocations: 160 / 387.7 MB, free: 7.328 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001697/0.09222, allocations: 8 kB / 387.7 MB, free: 7.32 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.0003764/0.0926, allocations: 0.6355 MB / 388.4 MB, free: 6.664 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.019e-05/0.09267, allocations: 24 kB / 388.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.09267, allocations: 0 / 388.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.09269, allocations: 7.984 kB / 388.4 MB, free: 6.633 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.0928, allocations: 4 kB / 388.4 MB, free: 6.629 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007809/0.09359, allocations: 1.109 MB / 389.5 MB, free: 5.43 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.09381, allocations: 0.6731 MB / 390.2 MB, free: 4.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.289e-05/0.09384, allocations: 8.062 kB / 390.2 MB, free: 4.723 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.09387, allocations: 15.42 kB / 390.2 MB, free: 4.707 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.09388, allocations: 4 kB / 390.2 MB, free: 4.703 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.1061, allocations: 1.168 MB / 391.4 MB, free: 3.648 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.1063, allocations: 247.9 kB / 391.6 MB, free: 3.391 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.758, allocations: 0 / 391.6 MB, free: 3.391 MB / 286.1 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/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)