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.001149/0.001149, allocations: 108 kB / 15.61 MB, free: 152 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.001574/0.001574, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04194/0.04194, allocations: 8.107 MB / 277.9 MB, free: 13.16 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.001633/0.001633, allocations: 67.91 kB / 337.3 MB, free: 26.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0807/0.08234, allocations: 48.31 MB / 385.6 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001786/0.08418, allocations: 411.1 kB / 386 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 9.579e-05/0.0843, allocations: 31.88 kB / 386 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.08434, allocations: 0 / 386 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.08448, allocations: 7.938 kB / 386 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.08459, allocations: 31.95 kB / 386.1 MB, free: 9.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.964e-05/0.08465, allocations: 4 kB / 386.1 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.282e-05/0.08472, allocations: 15.98 kB / 386.1 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.08478, allocations: 3.984 kB / 386.1 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.08482, allocations: 23.91 kB / 386.1 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.0849, allocations: 23.92 kB / 386.1 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.08493, allocations: 7.938 kB / 386.1 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.905e-05/0.08498, allocations: 4 kB / 386.1 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.085, allocations: 0 / 386.1 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.08503, allocations: 15.92 kB / 386.2 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.08514, allocations: 11.98 kB / 386.2 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.08516, allocations: 0 / 386.2 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.08516, allocations: 4 kB / 386.2 MB, free: 9.492 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.08518, allocations: 4 kB / 386.2 MB, free: 9.488 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.0003115/0.08549, allocations: 319.6 kB / 386.5 MB, free: 9.125 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.08553, allocations: 8.031 kB / 386.5 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.08557, allocations: 34.73 kB / 386.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.08561, allocations: 8.875 kB / 386.5 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.08573, allocations: 164.3 kB / 386.7 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.08574, allocations: 384 / 386.7 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.08577, allocations: 384 / 386.7 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.08587, allocations: 46.19 kB / 386.7 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.0859, allocations: 7.938 kB / 386.8 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.08591, allocations: 0 / 386.8 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.08592, allocations: 0 / 386.8 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.08596, allocations: 4 kB / 386.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.0861, allocations: 149.7 kB / 386.9 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.08627, allocations: 30.58 kB / 386.9 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.0863, allocations: 16.91 kB / 387 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.08633, allocations: 4 kB / 387 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.08636, allocations: 42.5 kB / 387 MB, free: 8.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.08637, allocations: 0 / 387 MB, free: 8.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001295/0.0865, allocations: 49.62 kB / 387 MB, free: 8.441 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.08654, allocations: 51.41 kB / 387.1 MB, free: 8.379 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.04e-05/0.0866, allocations: 89.86 kB / 387.2 MB, free: 8.281 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.08662, allocations: 29.83 kB / 387.2 MB, free: 8.246 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.08666, allocations: 84.14 kB / 387.3 MB, free: 8.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.08669, allocations: 16.11 kB / 387.3 MB, free: 8.145 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.08672, allocations: 17.72 kB / 387.3 MB, free: 8.121 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.08682, allocations: 310.8 kB / 387.6 MB, free: 7.809 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.08685, allocations: 12.86 kB / 387.6 MB, free: 7.793 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.08688, allocations: 25.81 kB / 387.7 MB, free: 7.762 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/0.08693, allocations: 25.72 kB / 387.7 MB, free: 7.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.08694, allocations: 0 / 387.7 MB, free: 7.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.949e-05/0.08702, allocations: 61.53 kB / 387.8 MB, free: 7.664 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.08704, allocations: 10.28 kB / 387.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.08705, allocations: 0 / 387.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.08706, allocations: 0 / 387.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-05/0.0871, allocations: 11.94 kB / 387.8 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.08711, allocations: 0 / 387.8 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.08713, allocations: 0 / 387.8 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.08714, allocations: 4.031 kB / 387.8 MB, free: 7.641 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.0001253/0.08728, allocations: 117.8 kB / 387.9 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.08729, allocations: 7.875 kB / 387.9 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.08733, allocations: 11.5 kB / 387.9 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.08734, allocations: 0 / 387.9 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.08734, allocations: 0 / 387.9 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.08735, allocations: 0 / 387.9 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.765e-05/0.08745, allocations: 153.7 kB / 388.1 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.08746, allocations: 0 / 388.1 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.0875, allocations: 11.94 kB / 388.1 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.08751, allocations: 3.938 kB / 388.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.08752, allocations: 0 / 388.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.08753, allocations: 0 / 388.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.08753, allocations: 0 / 388.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.08765, allocations: 81.02 kB / 388.2 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.0877, allocations: 77.11 kB / 388.2 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.08772, allocations: 7.969 kB / 388.2 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.08773, allocations: 4.062 kB / 388.2 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.08775, allocations: 4 kB / 388.3 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.08776, allocations: 0 / 388.3 MB, free: 7.066 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.08779, allocations: 79.28 kB / 388.3 MB, free: 6.988 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0878, allocations: 0 / 388.3 MB, free: 6.988 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001933/0.088, allocations: 4 kB / 388.3 MB, free: 6.984 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.0006415/0.08864, allocations: 0.6283 MB / 389 MB, free: 6.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.418e-05/0.08874, allocations: 23.92 kB / 389 MB, free: 6.305 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.08875, allocations: 0 / 389 MB, free: 6.305 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.08876, allocations: 8 kB / 389 MB, free: 6.297 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.0889, allocations: 3.938 kB / 389 MB, free: 6.293 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.08975, allocations: 1.104 MB / 390.1 MB, free: 5.102 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.09, allocations: 0.6727 MB / 390.8 MB, free: 4.402 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.2e-05/0.09003, allocations: 4 kB / 390.8 MB, free: 4.398 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.09007, allocations: 19.42 kB / 390.8 MB, free: 4.379 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09008, allocations: 7.938 kB / 390.8 MB, free: 4.371 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.109, allocations: 1.26 MB / 392.1 MB, free: 3.207 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/7.563, allocations: 448 / 392.1 MB, free: 3.207 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)