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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 189.3 kB / 22.23 MB, free: 5.133 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.573/1.573, allocations: 207.6 MB / 233 MB, free: 10.06 MB / 190.1 MB
"
[Timeout remaining time 178]
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.04936/0.04936, allocations: 8.193 MB / 293.4 MB, free: 13.73 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.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: translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector")
translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") [Timeout 660]
"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.00368/0.00368, allocations: 79.55 kB / 410.9 MB, free: 46.72 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1376, allocations: 50.94 MB / 461.8 MB, free: 13.08 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.00301/0.1406, allocations: 405.1 kB / 462.2 MB, free: 12.68 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001686/0.1408, allocations: 35.86 kB / 462.2 MB, free: 12.65 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.1408, allocations: 4 kB / 462.2 MB, free: 12.64 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000188/0.141, allocations: 7.938 kB / 462.2 MB, free: 12.64 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.1412, allocations: 27.95 kB / 462.3 MB, free: 12.61 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 8.462e-05/0.1412, allocations: 4 kB / 462.3 MB, free: 12.61 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1414, allocations: 19.97 kB / 462.3 MB, free: 12.59 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 7.319e-05/0.1414, allocations: 4 kB / 462.3 MB, free: 12.58 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.1415, allocations: 15.92 kB / 462.3 MB, free: 12.57 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1416, allocations: 31.95 kB / 462.3 MB, free: 12.54 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1416, allocations: 0 / 462.3 MB, free: 12.54 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/0.1417, allocations: 4 kB / 462.3 MB, free: 12.53 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.1417, allocations: 11.94 kB / 462.4 MB, free: 12.52 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1417, allocations: 11.92 kB / 462.4 MB, free: 12.51 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1419, allocations: 19.86 kB / 462.4 MB, free: 12.49 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.026e-06/0.1419, allocations: 3.984 kB / 462.4 MB, free: 12.48 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.903e-06/0.1419, allocations: 0 / 462.4 MB, free: 12.48 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.123e-06/0.1419, allocations: 0 / 462.4 MB, free: 12.48 MB / 334.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.0004395/0.1423, allocations: 238.4 kB / 462.6 MB, free: 12.22 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.1424, allocations: 15.98 kB / 462.6 MB, free: 12.2 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.1424, allocations: 8.922 kB / 462.7 MB, free: 12.2 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.1426, allocations: 106.5 kB / 462.8 MB, free: 12.07 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1426, allocations: 4.375 kB / 462.8 MB, free: 12.06 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.1426, allocations: 4.375 kB / 462.8 MB, free: 12.06 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1428, allocations: 30.27 kB / 462.8 MB, free: 12.02 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.1428, allocations: 8.156 kB / 462.8 MB, free: 12.02 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1428, allocations: 3.938 kB / 462.8 MB, free: 12.01 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1428, allocations: 0 / 462.8 MB, free: 12.01 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.1429, allocations: 11.88 kB / 462.8 MB, free: 12 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.1431, allocations: 120.8 kB / 462.9 MB, free: 11.84 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.1434, allocations: 38.56 kB / 463 MB, free: 11.79 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.1434, allocations: 8.922 kB / 463 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.1435, allocations: 3.984 kB / 463 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.1435, allocations: 34.56 kB / 463 MB, free: 11.73 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.714e-06/0.1435, allocations: 0 / 463 MB, free: 11.73 MB / 334.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0002886/0.1438, allocations: 57.52 kB / 463.1 MB, free: 11.67 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.1439, allocations: 51.41 kB / 463.1 MB, free: 11.61 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.144, allocations: 97.86 kB / 463.2 MB, free: 11.5 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.144, allocations: 25.7 kB / 463.2 MB, free: 11.47 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.1441, allocations: 80.14 kB / 463.3 MB, free: 11.39 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.1441, allocations: 7.953 kB / 463.3 MB, free: 11.38 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.1442, allocations: 17.7 kB / 463.4 MB, free: 11.36 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002098/0.1444, allocations: 310.8 kB / 463.7 MB, free: 11.05 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.1444, allocations: 12.86 kB / 463.7 MB, free: 11.03 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.006e-05/0.1445, allocations: 21.83 kB / 463.7 MB, free: 11 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 7.844e-05/0.1445, allocations: 25.66 kB / 463.7 MB, free: 10.97 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1445, allocations: 0 / 463.7 MB, free: 10.97 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001468/0.1447, allocations: 61.58 kB / 463.8 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1447, allocations: 4 kB / 463.8 MB, free: 10.9 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1447, allocations: 3.938 kB / 463.8 MB, free: 10.9 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1447, allocations: 4 kB / 463.8 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.1448, allocations: 8.031 kB / 463.8 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1448, allocations: 0 / 463.8 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.1448, allocations: 8.344 kB / 463.8 MB, free: 10.88 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1448, allocations: 0 / 463.8 MB, free: 10.88 MB / 334.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.0002277/0.1451, allocations: 109.8 kB / 463.9 MB, free: 10.76 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.1451, allocations: 7.984 kB / 463.9 MB, free: 10.75 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.1451, allocations: 11.47 kB / 463.9 MB, free: 10.74 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1452, allocations: 0 / 463.9 MB, free: 10.74 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1452, allocations: 0 / 463.9 MB, free: 10.74 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1452, allocations: 4 kB / 463.9 MB, free: 10.73 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1453, allocations: 120.8 kB / 464 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1453, allocations: 336 / 464 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.1454, allocations: 4 kB / 464.1 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.1454, allocations: 7.938 kB / 464.1 MB, free: 10.56 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1454, allocations: 7.938 kB / 464.1 MB, free: 10.55 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.1454, allocations: 4 kB / 464.1 MB, free: 10.55 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1454, allocations: 0 / 464.1 MB, free: 10.55 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1456, allocations: 85 kB / 464.2 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.1457, allocations: 0 / 464.2 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1457, allocations: 7.922 kB / 464.2 MB, free: 10.44 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.1457, allocations: 4 kB / 464.2 MB, free: 10.44 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.1457, allocations: 4.031 kB / 464.2 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.1457, allocations: 0 / 464.2 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.106e-05/0.1458, allocations: 75.28 kB / 464.2 MB, free: 10.36 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1.6e-07/0.1458, allocations: 0 / 464.2 MB, free: 10.36 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003456/0.1461, allocations: 4 kB / 464.2 MB, free: 10.36 MB / 334.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.0003541/0.1465, allocations: 120.8 kB / 464.4 MB, free: 10.23 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001832/0.1467, allocations: 19.94 kB / 464.4 MB, free: 10.21 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1467, allocations: 0 / 464.4 MB, free: 10.21 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.898e-05/0.1467, allocations: 7.984 kB / 464.4 MB, free: 10.21 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.1469, allocations: 0 / 464.4 MB, free: 10.21 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.1472, allocations: 133.6 kB / 464.5 MB, free: 10.05 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1476, allocations: 0.669 MB / 465.2 MB, free: 9.355 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 2.819e-05/0.1476, allocations: 11.92 kB / 465.2 MB, free: 9.344 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.1476, allocations: 11.44 kB / 465.2 MB, free: 9.332 MB / 334.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.1476, allocations: 0 / 465.2 MB, free: 9.332 MB / 334.1 MB
Notification: Performance of Templates: time 0.00339/0.151, allocations: 480.8 kB / 465.7 MB, free: 8.871 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile [Timeout 660]
(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 & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.991860277019441]
Failed to read output from testmodel.py, exit status != 0:
0.1621952084824443 0.17744188600000002 0.032067815
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcce03417b0>