Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.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.IntegrateInterpolatedVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector",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.001103/0.001103, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008435/0.008436, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.974/1.974, allocations: 205.4 MB / 222.4 MB, free: 5.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04289/0.04289, allocations: 8.105 MB / 278.8 MB, free: 13.34 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.0005995/0.0005995, allocations: 16 kB / 339 MB, free: 26.61 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1259, allocations: 49.27 MB / 388.2 MB, free: 9.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.0005792/0.1266, allocations: 124.8 kB / 388.4 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.127, allocations: 69.56 kB / 388.4 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.629e-05/0.127, allocations: 4 kB / 388.4 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.127, allocations: 0 / 388.4 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.1271, allocations: 0 / 388.4 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.1275, allocations: 55.92 kB / 388.5 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.1276, allocations: 11.98 kB / 388.5 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.447e-05/0.1276, allocations: 7.922 kB / 388.5 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.1277, allocations: 15.92 kB / 388.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.1278, allocations: 23.97 kB / 388.6 MB, free: 8.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1278, allocations: 4 kB / 388.6 MB, free: 8.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1279, allocations: 27.97 kB / 388.6 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.1279, allocations: 8 kB / 388.6 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.128, allocations: 25.7 kB / 388.6 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1281, allocations: 31.89 kB / 388.7 MB, free: 8.883 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1281, allocations: 0 / 388.7 MB, free: 8.883 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1281, allocations: 0 / 388.7 MB, free: 8.883 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1282, allocations: 0 / 388.7 MB, free: 8.883 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.0003761/0.1285, allocations: 319.6 kB / 389 MB, free: 8.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.1286, allocations: 12.03 kB / 389 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.1288, allocations: 30.75 kB / 389 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.683e-05/0.1288, allocations: 8.844 kB / 389 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1289, allocations: 160.4 kB / 389.2 MB, free: 8.266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.129, allocations: 4.359 kB / 389.2 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.1291, allocations: 4.375 kB / 389.2 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1292, allocations: 42.19 kB / 389.2 MB, free: 8.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1292, allocations: 3.938 kB / 389.2 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1292, allocations: 0 / 389.2 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1292, allocations: 0 / 389.2 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.1293, allocations: 7.984 kB / 389.2 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.1295, allocations: 157.7 kB / 389.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1297, allocations: 30.58 kB / 389.4 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.1298, allocations: 24.84 kB / 389.4 MB, free: 7.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.1298, allocations: 3.938 kB / 389.4 MB, free: 7.926 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1299, allocations: 30.56 kB / 389.5 MB, free: 7.887 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1299, allocations: 0 / 389.5 MB, free: 7.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001682/0.13, allocations: 53.62 kB / 389.5 MB, free: 7.828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1301, allocations: 55.41 kB / 389.6 MB, free: 7.762 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.01e-05/0.1301, allocations: 97.84 kB / 389.7 MB, free: 7.656 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1302, allocations: 25.7 kB / 389.7 MB, free: 7.625 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.1302, allocations: 80.14 kB / 389.8 MB, free: 7.543 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1303, allocations: 12.12 kB / 389.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.1303, allocations: 13.66 kB / 389.8 MB, free: 7.512 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1304, allocations: 314.8 kB / 390.1 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.1304, allocations: 16.78 kB / 390.1 MB, free: 7.176 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.1305, allocations: 21.72 kB / 390.1 MB, free: 7.148 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.873e-05/0.1305, allocations: 25.72 kB / 390.2 MB, free: 7.117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1305, allocations: 0 / 390.2 MB, free: 7.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.596e-05/0.1306, allocations: 61.52 kB / 390.2 MB, free: 7.051 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1306, allocations: 4 kB / 390.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1307, allocations: 3.938 kB / 390.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1307, allocations: 0 / 390.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.098e-05/0.1307, allocations: 12.03 kB / 390.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1307, allocations: 0 / 390.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.1307, allocations: 0 / 390.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.1308, allocations: 8 kB / 390.3 MB, free: 7.023 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.0001367/0.1309, allocations: 113.8 kB / 390.4 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.1309, allocations: 336 / 390.4 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.1311, allocations: 73.03 kB / 390.4 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1311, allocations: 0 / 390.4 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.1311, allocations: 0 / 390.4 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1311, allocations: 0 / 390.4 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.396e-05/0.1312, allocations: 149.7 kB / 390.6 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1312, allocations: 0 / 390.6 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.1312, allocations: 11.98 kB / 390.6 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1312, allocations: 0 / 390.6 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.1313, allocations: 3.938 kB / 390.6 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1313, allocations: 4 kB / 390.6 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1313, allocations: 3.984 kB / 390.6 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1314, allocations: 81.05 kB / 390.7 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.1315, allocations: 81.14 kB / 390.8 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1315, allocations: 3.938 kB / 390.8 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.1315, allocations: 0 / 390.8 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.1315, allocations: 0 / 390.8 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1315, allocations: 4 kB / 390.8 MB, free: 6.395 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.225e-05/0.1316, allocations: 91.27 kB / 390.9 MB, free: 6.305 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1316, allocations: 0 / 390.9 MB, free: 6.305 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001873/0.1318, allocations: 8 kB / 390.9 MB, free: 6.297 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.000679/0.1325, allocations: 0.6318 MB / 391.5 MB, free: 5.637 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.1326, allocations: 20.05 kB / 391.5 MB, free: 5.617 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1326, allocations: 4.062 kB / 391.5 MB, free: 5.613 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.1326, allocations: 8 kB / 391.5 MB, free: 5.605 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.1328, allocations: 4 kB / 391.5 MB, free: 5.602 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.134, allocations: 1.1 MB / 392.6 MB, free: 4.41 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1344, allocations: 0.6731 MB / 393.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.047e-05/0.1344, allocations: 11.94 kB / 393.3 MB, free: 3.699 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.1345, allocations: 19.42 kB / 393.3 MB, free: 3.68 MB / 286.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1345, allocations: 0 / 393.3 MB, free: 3.68 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.1471, allocations: 1.057 MB / 394.4 MB, free: 2.738 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/0.1475, allocations: 229.2 kB / 394.6 MB, free: 2.484 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.081, allocations: 0 / 394.6 MB, free: 2.484 MB / 286.1 MB (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1)