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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008864/0.0008864, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8434/0.8434, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.02392/0.02392, allocations: 6.401 MB / 242.9 MB, free: 8.98 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 359.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.332e-05, allocations: 2.281 kB / 359.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001491/0.001514, allocations: 417 kB / 360.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 8.647e-05/0.0016, allocations: 29.02 kB / 360.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.00163, allocations: 0 / 360.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.00178, allocations: 11.92 kB / 360.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.001887, allocations: 19.97 kB / 360.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.773e-05/0.001945, allocations: 7.922 kB / 360.3 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.773e-05/0.002012, allocations: 27.97 kB / 360.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.002057, allocations: 3.938 kB / 360.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.002096, allocations: 11.98 kB / 360.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.002163, allocations: 31.95 kB / 360.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.002186, allocations: 0 / 360.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.561e-05/0.002231, allocations: 8 kB / 360.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.002248, allocations: 4 kB / 360.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.002265, allocations: 0 / 360.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.328e-05/0.002358, allocations: 15.97 kB / 360.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00236, allocations: 3.938 kB / 360.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.002361, allocations: 4 kB / 360.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.002365, allocations: 3.938 kB / 360.4 MB, free: 3.836 MB / 282.7 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.0002192/0.002584, allocations: 254 kB / 360.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.002626, allocations: 11.98 kB / 360.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.002655, allocations: 42.73 kB / 360.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.002683, allocations: 0.9375 kB / 360.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.215e-05/0.002745, allocations: 105.8 kB / 360.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.002757, allocations: 384 / 360.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.002781, allocations: 4.375 kB / 360.8 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.002874, allocations: 34.25 kB / 360.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.002892, allocations: 192 / 360.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.002901, allocations: 4.375 kB / 360.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.002906, allocations: 4.125 kB / 360.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.948e-05/0.002946, allocations: 8 kB / 360.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.003056, allocations: 120.7 kB / 360.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.003238, allocations: 34.61 kB / 361 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.003262, allocations: 12.92 kB / 361 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.003285, allocations: 0 / 361 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.003297, allocations: 34.55 kB / 361 MB, free: 3.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.003298, allocations: 0 / 361 MB, free: 3.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001377/0.003436, allocations: 53.53 kB / 361.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.003461, allocations: 63.33 kB / 361.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.308e-05/0.003504, allocations: 93.86 kB / 361.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.00351, allocations: 25.7 kB / 361.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-06/0.00352, allocations: 80.14 kB / 361.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.003545, allocations: 11.95 kB / 361.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.003574, allocations: 9.719 kB / 361.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.003612, allocations: 322.8 kB / 361.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.003642, allocations: 8.859 kB / 361.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.003665, allocations: 17.72 kB / 361.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/0.003713, allocations: 42.03 kB / 361.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.003715, allocations: 0 / 361.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.396e-05/0.003799, allocations: 53.58 kB / 361.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.003814, allocations: 8 kB / 361.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.003819, allocations: 0 / 361.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.003837, allocations: 0 / 361.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.856e-05/0.003876, allocations: 15.88 kB / 361.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.003882, allocations: 0 / 361.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.003897, allocations: 0 / 361.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.003904, allocations: 4 kB / 361.8 MB, free: 2.18 MB / 282.7 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.0001158/0.00402, allocations: 113.8 kB / 361.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.004029, allocations: 4 kB / 361.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.004063, allocations: 11.52 kB / 361.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.004065, allocations: 0 / 361.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.00407, allocations: 3.938 kB / 361.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.004074, allocations: 0 / 361.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.514e-05/0.004139, allocations: 116.8 kB / 362.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.00414, allocations: 0 / 362.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.004179, allocations: 8 kB / 362.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.004182, allocations: 3.984 kB / 362.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.00419, allocations: 8 kB / 362.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.004191, allocations: 0 / 362.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.004193, allocations: 7.938 kB / 362.1 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.004303, allocations: 73.09 kB / 362.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.004311, allocations: 7.953 kB / 362.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.004323, allocations: 0 / 362.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.004335, allocations: 0 / 362.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.004352, allocations: 15.92 kB / 362.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.004355, allocations: 0 / 362.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.476e-05/0.00437, allocations: 75.28 kB / 362.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00437, allocations: 4.156 kB / 362.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000213/0.004583, allocations: 7.938 kB / 362.3 MB, free: 1.656 MB / 282.7 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.0003876/0.00497, allocations: 0.6187 MB / 362.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.005075, allocations: 12 kB / 362.9 MB, free: 1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.005077, allocations: 4 kB / 362.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.005089, allocations: 11.92 kB / 362.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.005242, allocations: 12 kB / 362.9 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007314/0.005973, allocations: 1.096 MB / 364 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.68e-05/0.00602, allocations: 63.28 kB / 364.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.548e-05/0.006045, allocations: 4 kB / 364.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.006084, allocations: 16.5 kB / 364.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006084, allocations: 0 / 364.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.02163, allocations: 1.935 MB / 366 MB, free: 13.84 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/6.88, allocations: 11.94 kB / 366 MB, free: 13.82 MB / 298.7 MB " [Timeout remaining time 653] (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 --stepSize=0.0024 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.543323423713446] Failed to read output from testmodel.py, exit status != 0: 6.961187832988799 6.969974776 6.9659236 Calling exit ...