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.001238/0.001238, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.00128/0.00128, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.397/1.397, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.1 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.04851/0.04851, allocations: 8.204 MB / 290.6 MB, free: 8.109 MB / 238.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.00218/0.00218, allocations: 71.91 kB / 405.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2667, allocations: 50.9 MB / 456.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001489/0.2682, allocations: 430.1 kB / 457.2 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 8.53e-05/0.2683, allocations: 28.92 kB / 457.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.2683, allocations: 0 / 457.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.2685, allocations: 13.17 kB / 457.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.028e-05/0.2686, allocations: 21.44 kB / 457.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.145e-05/0.2686, allocations: 9.156 kB / 457.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.589e-05/0.2687, allocations: 18.94 kB / 457.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.2687, allocations: 5 kB / 457.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.2688, allocations: 15.42 kB / 457.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.2688, allocations: 35.89 kB / 457.4 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2688, allocations: 0 / 457.4 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.431e-05/0.2689, allocations: 9.641 kB / 457.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.2689, allocations: 1.094 kB / 457.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.2689, allocations: 4.969 kB / 457.4 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.108e-05/0.269, allocations: 24.77 kB / 457.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.269, allocations: 1.406 kB / 457.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.269, allocations: 0 / 457.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.269, allocations: 0 / 457.4 MB, free: 3.32 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.0002526/0.2693, allocations: 326.4 kB / 457.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2693, allocations: 9.969 kB / 457.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.112e-05/0.2693, allocations: 192 / 457.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.624e-05/0.2693, allocations: 31.88 kB / 457.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.2694, allocations: 6.125 kB / 457.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.474e-05/0.2694, allocations: 165.5 kB / 457.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.2694, allocations: 384 / 457.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.2695, allocations: 2.719 kB / 457.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.2696, allocations: 45.22 kB / 458 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2696, allocations: 1.188 kB / 458 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.2696, allocations: 0 / 458 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2696, allocations: 0 / 458 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.2696, allocations: 3.656 kB / 458 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.2697, allocations: 156.9 kB / 458.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2699, allocations: 36.55 kB / 458.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.2699, allocations: 13.52 kB / 458.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.2699, allocations: 0 / 458.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.27, allocations: 36.34 kB / 458.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.27, allocations: 7.922 kB / 458.2 MB, free: 2.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001337/0.2701, allocations: 49.39 kB / 458.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.2701, allocations: 55.41 kB / 458.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.2702, allocations: 100.4 kB / 458.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.2702, allocations: 25.7 kB / 458.5 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.192e-05/0.2702, allocations: 81.48 kB / 458.5 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.2702, allocations: 5.266 kB / 458.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.2702, allocations: 16.41 kB / 458.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.2703, allocations: 311.9 kB / 458.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.2703, allocations: 19.66 kB / 458.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.916e-05/0.2703, allocations: 18.22 kB / 458.9 MB, free: 1.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.2703, allocations: 26.28 kB / 458.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2703, allocations: 0 / 458.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.392e-05/0.2704, allocations: 56.02 kB / 459 MB, free: 1.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2704, allocations: 9.219 kB / 459 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2704, allocations: 0 / 459 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2704, allocations: 1 kB / 459 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.022e-05/0.2705, allocations: 13.36 kB / 459 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2705, allocations: 1.094 kB / 459 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/0.2705, allocations: 4.938 kB / 459 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.2705, allocations: 2.75 kB / 459 MB, free: 1.586 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.0001045/0.2706, allocations: 107.8 kB / 459.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.2706, allocations: 9.312 kB / 459.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.2706, allocations: 3.5 kB / 459.1 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2706, allocations: 1.406 kB / 459.1 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2706, allocations: 7.938 kB / 459.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2706, allocations: 0 / 459.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.748e-05/0.2707, allocations: 153.7 kB / 459.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2707, allocations: 0 / 459.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.2707, allocations: 3.875 kB / 459.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2707, allocations: 4.938 kB / 459.3 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2707, allocations: 3.984 kB / 459.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2707, allocations: 1.094 kB / 459.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2707, allocations: 0 / 459.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.597e-05/0.2708, allocations: 80.95 kB / 459.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.2709, allocations: 81.05 kB / 459.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.2709, allocations: 1.281 kB / 459.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.2709, allocations: 0 / 459.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.2709, allocations: 5.547 kB / 459.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.2709, allocations: 1.25 kB / 459.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.122e-05/0.2709, allocations: 81.38 kB / 459.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2709, allocations: 3.938 kB / 459.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.2711, allocations: 11.34 kB / 459.6 MB, free: 0.9766 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.0003123/0.2714, allocations: 0.6352 MB / 460.2 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.2715, allocations: 18.38 kB / 460.2 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2715, allocations: 0 / 460.2 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.2715, allocations: 12.45 kB / 460.2 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.2716, allocations: 2.375 kB / 460.2 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.2725, allocations: 1.092 MB / 461.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.2728, allocations: 0.6764 MB / 462 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.534e-05/0.2728, allocations: 6.438 kB / 462 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.2729, allocations: 9.844 kB / 462 MB, free: 14.49 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2729, allocations: 5.094 kB / 462 MB, free: 14.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.2898, allocations: 1.339 MB / 463.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.202, allocations: 10.27 kB / 463.4 MB, free: 13.69 MB / 334.1 MB " [Timeout remaining time 652] (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: 10.57992839399958] Failed to read output from testmodel.py, exit status != 0: 8.324923643027432 8.349117045 8.07579687 Calling exit ...