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.001166/0.001166, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001221/0.001221, allocations: 186.9 kB / 16.25 MB, free: 6.637 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.241/1.241, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03858/0.03858, allocations: 8.101 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.001368/0.001368, allocations: 63.91 kB / 336.8 MB, free: 26.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06799/0.06937, allocations: 48.3 MB / 385.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001593/0.07099, allocations: 477.6 kB / 385.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 9.097e-05/0.07111, allocations: 31.88 kB / 385.6 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.07114, allocations: 0 / 385.6 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.0713, allocations: 4 kB / 385.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.893e-05/0.0714, allocations: 23.97 kB / 385.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.089e-05/0.07145, allocations: 7.984 kB / 385.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.07152, allocations: 23.97 kB / 385.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.07157, allocations: 4 kB / 385.6 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.0716, allocations: 15.86 kB / 385.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.07167, allocations: 31.97 kB / 385.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.07169, allocations: 0 / 385.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.07173, allocations: 11.94 kB / 385.7 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.07175, allocations: 3.984 kB / 385.7 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.07178, allocations: 3.938 kB / 385.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.314e-05/0.07186, allocations: 23.97 kB / 385.7 MB, free: 9.762 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.07186, allocations: 0 / 385.7 MB, free: 9.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.07187, allocations: 0 / 385.7 MB, free: 9.762 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.07188, allocations: 4 kB / 385.7 MB, free: 9.758 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.000248/0.07213, allocations: 319.6 kB / 386.1 MB, free: 9.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.07217, allocations: 8.031 kB / 386.1 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.07221, allocations: 30.75 kB / 386.1 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.07224, allocations: 0.9375 kB / 386.1 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.383e-05/0.07233, allocations: 168.3 kB / 386.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.07234, allocations: 4.312 kB / 386.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.07236, allocations: 384 / 386.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.589e-05/0.07245, allocations: 42.25 kB / 386.3 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.07247, allocations: 3.938 kB / 386.3 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.07248, allocations: 3.938 kB / 386.3 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-06/0.07249, allocations: 4 kB / 386.3 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.968e-05/0.07252, allocations: 7.984 kB / 386.3 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.07266, allocations: 153.7 kB / 386.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.07281, allocations: 34.61 kB / 386.5 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.07284, allocations: 12.92 kB / 386.5 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.07286, allocations: 0 / 386.5 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.07288, allocations: 34.56 kB / 386.6 MB, free: 8.773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.07289, allocations: 0 / 386.6 MB, free: 8.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001125/0.07301, allocations: 53.56 kB / 386.6 MB, free: 8.715 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.07304, allocations: 51.41 kB / 386.7 MB, free: 8.652 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.07311, allocations: 93.86 kB / 386.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.07312, allocations: 25.7 kB / 386.8 MB, free: 8.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.07315, allocations: 92.25 kB / 386.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.07318, allocations: 8.125 kB / 386.9 MB, free: 8.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.07321, allocations: 17.72 kB / 386.9 MB, free: 8.395 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.07331, allocations: 310.8 kB / 387.2 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.07333, allocations: 16.84 kB / 387.2 MB, free: 8.062 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.07336, allocations: 13.72 kB / 387.2 MB, free: 8.043 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.0734, allocations: 29.66 kB / 387.3 MB, free: 8.008 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.07341, allocations: 0 / 387.3 MB, free: 8.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.018e-05/0.07348, allocations: 53.53 kB / 387.3 MB, free: 7.949 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.0735, allocations: 11.94 kB / 387.3 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.07351, allocations: 3.938 kB / 387.3 MB, free: 7.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.07353, allocations: 0 / 387.3 MB, free: 7.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.573e-05/0.07357, allocations: 11.98 kB / 387.3 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.07358, allocations: 0 / 387.3 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.0736, allocations: 4 kB / 387.3 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.0736, allocations: 0 / 387.3 MB, free: 7.918 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.0001047/0.07371, allocations: 113.9 kB / 387.4 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.07373, allocations: 3.938 kB / 387.4 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.998e-05/0.07382, allocations: 53.12 kB / 387.5 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.07383, allocations: 3.938 kB / 387.5 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.07384, allocations: 0 / 387.5 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.07385, allocations: 0 / 387.5 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.701e-05/0.07394, allocations: 153.7 kB / 387.7 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.07395, allocations: 0 / 387.7 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.07398, allocations: 8 kB / 387.7 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.07399, allocations: 4.312 kB / 387.7 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.074, allocations: 0 / 387.7 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.07401, allocations: 0 / 387.7 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.07401, allocations: 0 / 387.7 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.07412, allocations: 88.94 kB / 387.8 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.07416, allocations: 77.11 kB / 387.8 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.07418, allocations: 7.969 kB / 387.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.216e-05/0.0742, allocations: 8.062 kB / 387.8 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-06/0.07421, allocations: 0 / 387.8 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.07422, allocations: 0 / 387.8 MB, free: 7.297 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.47e-05/0.07426, allocations: 83.27 kB / 387.9 MB, free: 7.215 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07426, allocations: 0 / 387.9 MB, free: 7.215 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001782/0.07444, allocations: 12 kB / 387.9 MB, free: 7.203 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.0003719/0.07482, allocations: 0.6317 MB / 388.6 MB, free: 6.547 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.002e-05/0.0749, allocations: 19.94 kB / 388.6 MB, free: 6.527 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.07491, allocations: 0 / 388.6 MB, free: 6.527 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.376e-05/0.07493, allocations: 8 kB / 388.6 MB, free: 6.52 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.07505, allocations: 3.984 kB / 388.6 MB, free: 6.516 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.07583, allocations: 1.108 MB / 389.7 MB, free: 5.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.07604, allocations: 0.6805 MB / 390.4 MB, free: 4.613 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.07607, allocations: 4 kB / 390.4 MB, free: 4.609 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.0761, allocations: 15.44 kB / 390.4 MB, free: 4.594 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.07611, allocations: 4 kB / 390.4 MB, free: 4.59 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.0866, allocations: 1.197 MB / 391.6 MB, free: 3.527 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.08684, allocations: 248.1 kB / 391.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.623, allocations: 4 kB / 391.9 MB, free: 3.266 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)