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.001388/0.001387, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.522/1.522, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05143/0.05143, allocations: 8.116 MB / 277.9 MB, free: 13.17 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.001585/0.001585, allocations: 63.91 kB / 337.3 MB, free: 26.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08682/0.08842, allocations: 48.3 MB / 385.6 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001787/0.09024, allocations: 399.3 kB / 386 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002926/0.09056, allocations: 67.77 kB / 386 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.09061, allocations: 0 / 386 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.09063, allocations: 0 / 386 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.09064, allocations: 3.938 kB / 386 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.09107, allocations: 63.84 kB / 386.1 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.357e-05/0.09113, allocations: 15.98 kB / 386.1 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.09118, allocations: 0 / 386.1 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.774e-05/0.09121, allocations: 23.91 kB / 386.1 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.09128, allocations: 19.98 kB / 386.2 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.0913, allocations: 4 kB / 386.2 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.09141, allocations: 27.97 kB / 386.2 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.09143, allocations: 4 kB / 386.2 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.09146, allocations: 3.984 kB / 386.2 MB, free: 9.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.09156, allocations: 27.91 kB / 386.2 MB, free: 9.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09158, allocations: 0 / 386.2 MB, free: 9.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09158, allocations: 0 / 386.2 MB, free: 9.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.09159, allocations: 0 / 386.2 MB, free: 9.43 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.0003176/0.09191, allocations: 327.6 kB / 386.6 MB, free: 9.059 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.09196, allocations: 8.031 kB / 386.6 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.092, allocations: 30.75 kB / 386.6 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.09203, allocations: 4.938 kB / 386.6 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.09213, allocations: 168.3 kB / 386.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.09215, allocations: 384 / 386.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.09218, allocations: 384 / 386.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.09229, allocations: 38.25 kB / 386.8 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.09231, allocations: 3.938 kB / 386.8 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.09232, allocations: 4 kB / 386.8 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.09233, allocations: 4 kB / 386.8 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.09238, allocations: 4 kB / 386.8 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.09254, allocations: 157.6 kB / 387 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.09273, allocations: 38.55 kB / 387 MB, free: 8.496 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.09277, allocations: 8.922 kB / 387 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.09281, allocations: 4 kB / 387 MB, free: 8.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.09283, allocations: 38.56 kB / 387.1 MB, free: 8.434 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.09284, allocations: 0 / 387.1 MB, free: 8.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002006/0.09305, allocations: 53.61 kB / 387.1 MB, free: 8.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.09309, allocations: 59.34 kB / 387.2 MB, free: 8.305 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.527e-05/0.09313, allocations: 89.86 kB / 387.3 MB, free: 8.207 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.09315, allocations: 25.7 kB / 387.3 MB, free: 8.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.09319, allocations: 80.14 kB / 387.4 MB, free: 8.094 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.09322, allocations: 12.06 kB / 387.4 MB, free: 8.082 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.09326, allocations: 29.7 kB / 387.4 MB, free: 8.047 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.09338, allocations: 310.8 kB / 387.7 MB, free: 7.734 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.09342, allocations: 12.86 kB / 387.7 MB, free: 7.719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.09346, allocations: 25.7 kB / 387.7 MB, free: 7.688 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.09351, allocations: 25.94 kB / 387.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.09352, allocations: 0 / 387.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.204e-05/0.0936, allocations: 57.64 kB / 387.8 MB, free: 7.594 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.09363, allocations: 8.625 kB / 387.8 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.09364, allocations: 3.938 kB / 387.8 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.09366, allocations: 0 / 387.8 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.617e-05/0.0937, allocations: 11.98 kB / 387.8 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.09371, allocations: 0 / 387.8 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.09373, allocations: 11.91 kB / 387.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.09375, allocations: 4 kB / 387.9 MB, free: 7.555 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.00018/0.09394, allocations: 113.8 kB / 388 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.09395, allocations: 4 kB / 388 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.09409, allocations: 65.11 kB / 388 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.0941, allocations: 0 / 388 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.09411, allocations: 0 / 388 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.09412, allocations: 4 kB / 388 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.09423, allocations: 145.7 kB / 388.2 MB, free: 7.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.09424, allocations: 4 kB / 388.2 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.09428, allocations: 8 kB / 388.2 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.09429, allocations: 0 / 388.2 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.09431, allocations: 7.922 kB / 388.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.09432, allocations: 0 / 388.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.09432, allocations: 3.938 kB / 388.2 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.09445, allocations: 77.12 kB / 388.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.0945, allocations: 77.11 kB / 388.4 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.09452, allocations: 11.98 kB / 388.4 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.132e-05/0.09454, allocations: 0 / 388.4 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.09456, allocations: 4.031 kB / 388.4 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.09457, allocations: 8 kB / 388.4 MB, free: 6.922 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.393e-05/0.0946, allocations: 75.28 kB / 388.5 MB, free: 6.848 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.09461, allocations: 0 / 388.5 MB, free: 6.848 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001934/0.09481, allocations: 15.94 kB / 388.5 MB, free: 6.832 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.000391/0.0952, allocations: 0.6241 MB / 389.1 MB, free: 6.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.0953, allocations: 19.98 kB / 389.1 MB, free: 6.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.09531, allocations: 0 / 389.1 MB, free: 6.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.09533, allocations: 15.92 kB / 389.1 MB, free: 6.145 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.09546, allocations: 384 / 389.1 MB, free: 6.145 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.09648, allocations: 1.104 MB / 390.2 MB, free: 4.953 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.09677, allocations: 0.6806 MB / 390.9 MB, free: 4.246 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.645e-05/0.09681, allocations: 8 kB / 390.9 MB, free: 4.238 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.09686, allocations: 11.44 kB / 390.9 MB, free: 4.227 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09686, allocations: 0 / 390.9 MB, free: 4.227 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.1191, allocations: 1.23 MB / 392.2 MB, free: 3.055 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.614, allocations: 7.922 kB / 392.2 MB, free: 3.047 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)