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.006451/0.006451, allocations: 102 kB / 15.73 MB, free: 6.062 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.001431/0.001431, allocations: 192 kB / 16.67 MB, free: 5.973 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.506/1.506, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.052/0.052, allocations: 8.116 MB / 278 MB, free: 13.09 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.002208/0.002208, allocations: 67.89 kB / 386.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3562, allocations: 48.3 MB / 434.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001766/0.3581, allocations: 403.9 kB / 434.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003333/0.3584, allocations: 69.16 kB / 434.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.552e-05/0.3584, allocations: 0 / 434.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.3585, allocations: 0 / 434.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.544e-06/0.3585, allocations: 0 / 434.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.3591, allocations: 68.44 kB / 435 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.3591, allocations: 18.69 kB / 435 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/0.3592, allocations: 2.531 kB / 435 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.3593, allocations: 13.78 kB / 435 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3594, allocations: 31.73 kB / 435.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3594, allocations: 0 / 435.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.3595, allocations: 29.22 kB / 435.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.3596, allocations: 5.062 kB / 435.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.3596, allocations: 1.438 kB / 435.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3597, allocations: 33.31 kB / 435.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3598, allocations: 0 / 435.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3598, allocations: 0 / 435.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3598, allocations: 0 / 435.1 MB, free: 7.145 MB / 318.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.0003796/0.3602, allocations: 318.1 kB / 435.4 MB, free: 6.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.3602, allocations: 10.38 kB / 435.4 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.3603, allocations: 34.75 kB / 435.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.3603, allocations: 3.391 kB / 435.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.946e-05/0.3604, allocations: 165.4 kB / 435.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3604, allocations: 5.5 kB / 435.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.3604, allocations: 1.469 kB / 435.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3606, allocations: 35.14 kB / 435.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3606, allocations: 3.938 kB / 435.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3606, allocations: 4 kB / 435.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3606, allocations: 1.469 kB / 435.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.3607, allocations: 5.812 kB / 435.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.3608, allocations: 157.3 kB / 435.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.3611, allocations: 37.39 kB / 435.9 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.3611, allocations: 14.48 kB / 435.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.782e-05/0.3612, allocations: 4.125 kB / 435.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3612, allocations: 34.56 kB / 435.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.3612, allocations: 1.094 kB / 435.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002081/0.3614, allocations: 53.73 kB / 436 MB, free: 6.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.3615, allocations: 59.28 kB / 436 MB, free: 6.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.673e-05/0.3615, allocations: 93.86 kB / 436.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3615, allocations: 27.08 kB / 436.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.3616, allocations: 84.08 kB / 436.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.3616, allocations: 18.66 kB / 436.3 MB, free: 5.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.3616, allocations: 14.69 kB / 436.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.3617, allocations: 317.6 kB / 436.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.3617, allocations: 8.656 kB / 436.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.913e-05/0.3618, allocations: 29.25 kB / 436.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.3618, allocations: 24.61 kB / 436.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3618, allocations: 0 / 436.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.215e-05/0.3619, allocations: 54.62 kB / 436.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.362, allocations: 5.5 kB / 436.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.362, allocations: 3.938 kB / 436.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.362, allocations: 2.688 kB / 436.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.656e-05/0.362, allocations: 8.516 kB / 436.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.362, allocations: 0 / 436.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.3621, allocations: 5.312 kB / 436.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3621, allocations: 8.562 kB / 436.7 MB, free: 5.449 MB / 318.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.0001483/0.3622, allocations: 124.5 kB / 436.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.3622, allocations: 1.438 kB / 436.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.3624, allocations: 62.23 kB / 436.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3624, allocations: 1.094 kB / 436.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3625, allocations: 0.75 kB / 436.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3625, allocations: 1.031 kB / 436.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.3626, allocations: 151.2 kB / 437.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3626, allocations: 0.875 kB / 437.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.3626, allocations: 6.422 kB / 437.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3627, allocations: 1.609 kB / 437.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3627, allocations: 4.812 kB / 437.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.3627, allocations: 6.078 kB / 437.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3627, allocations: 4 kB / 437.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.3628, allocations: 76.84 kB / 437.2 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.3629, allocations: 77.86 kB / 437.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.3629, allocations: 5.125 kB / 437.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.287e-05/0.3629, allocations: 1.906 kB / 437.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.363, allocations: 2.094 kB / 437.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.363, allocations: 8.453 kB / 437.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.363, allocations: 79.34 kB / 437.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.363, allocations: 5.219 kB / 437.3 MB, free: 4.816 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.3632, allocations: 12.52 kB / 437.4 MB, free: 4.812 MB / 318.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.0004407/0.3637, allocations: 0.6226 MB / 438 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.3638, allocations: 23.3 kB / 438 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3638, allocations: 4.125 kB / 438 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.3639, allocations: 12.33 kB / 438 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.364, allocations: 5.703 kB / 438 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008341/0.3649, allocations: 1.096 MB / 439.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.365, allocations: 0.6747 MB / 439.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.3651, allocations: 9.344 kB / 439.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.3651, allocations: 14.39 kB / 439.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3651, allocations: 1.094 kB / 439.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.3906, allocations: 1.252 MB / 441.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.44, allocations: 13.17 kB / 441.1 MB, free: 1.918 MB / 318.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)