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: translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009547, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.01242/0.01242, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.741/1.741, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03879/0.03879, allocations: 8.112 MB / 278.8 MB, free: 13.11 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.0007866/0.0007869, allocations: 15.12 kB / 338.9 MB, free: 26.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1385, allocations: 49.28 MB / 388.2 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0009755/0.1396, allocations: 132.8 kB / 388.3 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.1398, allocations: 45.53 kB / 388.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.1398, allocations: 0 / 388.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.14, allocations: 3.984 kB / 388.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.1401, allocations: 23.97 kB / 388.4 MB, free: 9.156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.531e-05/0.1402, allocations: 7.938 kB / 388.4 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.276e-05/0.1403, allocations: 19.97 kB / 388.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.9e-05/0.1404, allocations: 0 / 388.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.1405, allocations: 15.92 kB / 388.4 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1406, allocations: 23.97 kB / 388.4 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1406, allocations: 3.938 kB / 388.4 MB, free: 9.086 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.1407, allocations: 20 kB / 388.4 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.1407, allocations: 3.984 kB / 388.4 MB, free: 9.062 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.1408, allocations: 33.62 kB / 388.5 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1409, allocations: 15.98 kB / 388.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1409, allocations: 0 / 388.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1409, allocations: 0 / 388.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1409, allocations: 0 / 388.5 MB, free: 9.008 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.000399/0.1414, allocations: 311.6 kB / 388.8 MB, free: 8.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.1414, allocations: 12.03 kB / 388.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1415, allocations: 0.9375 kB / 388.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1417, allocations: 168.4 kB / 389 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.1418, allocations: 4.375 kB / 389 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.1418, allocations: 8.312 kB / 389 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.1419, allocations: 34.2 kB / 389 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.142, allocations: 8.078 kB / 389 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.142, allocations: 3.938 kB / 389 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.142, allocations: 0 / 389 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.309e-05/0.142, allocations: 8 kB / 389 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.1423, allocations: 149.7 kB / 389.2 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.1425, allocations: 34.52 kB / 389.2 MB, free: 8.129 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.1426, allocations: 16.92 kB / 389.2 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.1426, allocations: 3.984 kB / 389.2 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.1428, allocations: 30.56 kB / 389.3 MB, free: 8.066 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.1428, allocations: 0 / 389.3 MB, free: 8.066 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001792/0.1429, allocations: 49.62 kB / 389.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.143, allocations: 55.41 kB / 389.4 MB, free: 7.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.1431, allocations: 93.86 kB / 389.5 MB, free: 7.844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1431, allocations: 25.7 kB / 389.5 MB, free: 7.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.1432, allocations: 80.14 kB / 389.6 MB, free: 7.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.1432, allocations: 12.12 kB / 389.6 MB, free: 7.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.1432, allocations: 17.7 kB / 389.6 MB, free: 7.695 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1434, allocations: 314.8 kB / 389.9 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.1434, allocations: 12.98 kB / 389.9 MB, free: 7.363 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.1435, allocations: 17.91 kB / 389.9 MB, free: 7.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.477e-05/0.1435, allocations: 29.78 kB / 390 MB, free: 7.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1435, allocations: 0 / 390 MB, free: 7.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001097/0.1437, allocations: 57.53 kB / 390 MB, free: 7.242 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1437, allocations: 8 kB / 390 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1437, allocations: 3.938 kB / 390 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1437, allocations: 0 / 390 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.1438, allocations: 12.03 kB / 390 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.1438, allocations: 7.938 kB / 390.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.1438, allocations: 0 / 390.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.1438, allocations: 0 / 390.1 MB, free: 7.211 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.0002052/0.144, allocations: 109.8 kB / 390.2 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.1441, allocations: 7.922 kB / 390.2 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.1442, allocations: 53.12 kB / 390.2 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1442, allocations: 4 kB / 390.2 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1443, allocations: 4 kB / 390.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1443, allocations: 3.938 kB / 390.2 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.1445, allocations: 153.7 kB / 390.4 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1445, allocations: 0 / 390.4 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.1446, allocations: 4 kB / 390.4 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1446, allocations: 0 / 390.4 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1446, allocations: 3.938 kB / 390.4 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1446, allocations: 0 / 390.4 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1446, allocations: 0 / 390.4 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.1448, allocations: 81.06 kB / 390.5 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1449, allocations: 85 kB / 390.6 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1449, allocations: 7.969 kB / 390.6 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.575e-05/0.1449, allocations: 0 / 390.6 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.1449, allocations: 0 / 390.6 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.145, allocations: 0 / 390.6 MB, free: 6.594 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.367e-05/0.145, allocations: 83.28 kB / 390.6 MB, free: 6.512 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.145, allocations: 0 / 390.6 MB, free: 6.512 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.1453, allocations: 4.156 kB / 390.6 MB, free: 6.508 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.0003693/0.1457, allocations: 121.5 kB / 390.8 MB, free: 6.387 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.524e-05/0.1458, allocations: 15.94 kB / 390.8 MB, free: 6.371 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1458, allocations: 0 / 390.8 MB, free: 6.371 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.1458, allocations: 15.92 kB / 390.8 MB, free: 6.355 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.146, allocations: 4.062 kB / 390.8 MB, free: 6.352 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.1465, allocations: 124.6 kB / 390.9 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.1471, allocations: 0.677 MB / 391.6 MB, free: 5.496 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.174e-05/0.1472, allocations: 4 kB / 391.6 MB, free: 5.492 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.1472, allocations: 11.44 kB / 391.6 MB, free: 5.48 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1472, allocations: 0 / 391.6 MB, free: 5.48 MB / 286.1 MB Notification: Performance of Templates: time 0.004074/0.1513, allocations: 464 kB / 392.1 MB, free: 5.039 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: