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.0009026/0.0009072, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000883/0.0008831, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04086/0.04086, allocations: 8.114 MB / 278.5 MB, free: 13.21 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.0005614/0.0005615, allocations: 14.97 kB / 338.4 MB, free: 26.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1116, allocations: 49.27 MB / 387.6 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.0005693/0.1122, allocations: 124.8 kB / 387.8 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003128/0.1126, allocations: 65.55 kB / 387.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.1126, allocations: 0 / 387.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.1126, allocations: 0 / 387.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 1.213e-05/0.1126, allocations: 0 / 387.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.113, allocations: 55.88 kB / 387.9 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.365e-05/0.1131, allocations: 15.97 kB / 387.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.516e-05/0.1132, allocations: 7.984 kB / 387.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.1133, allocations: 15.88 kB / 387.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.1133, allocations: 27.95 kB / 387.9 MB, free: 9.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1134, allocations: 0 / 387.9 MB, free: 9.297 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1135, allocations: 23.98 kB / 388 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.1135, allocations: 3.984 kB / 388 MB, free: 9.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.1135, allocations: 25.7 kB / 388 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.1137, allocations: 15.98 kB / 388 MB, free: 9.223 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.1137, allocations: 4 kB / 388 MB, free: 9.219 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1137, allocations: 0 / 388 MB, free: 9.219 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1137, allocations: 0 / 388 MB, free: 9.219 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.0004301/0.1141, allocations: 319.4 kB / 388.3 MB, free: 8.859 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.1142, allocations: 8.031 kB / 388.3 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.1143, allocations: 34.5 kB / 388.4 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.1143, allocations: 0 / 388.4 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1144, allocations: 159.1 kB / 388.5 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1145, allocations: 4 kB / 388.5 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1145, allocations: 11.94 kB / 388.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1146, allocations: 29.7 kB / 388.6 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1147, allocations: 0 / 388.6 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1147, allocations: 7.969 kB / 388.6 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1147, allocations: 4 kB / 388.6 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/0.1147, allocations: 8 kB / 388.6 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.1149, allocations: 153.6 kB / 388.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1152, allocations: 42.56 kB / 388.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.1152, allocations: 8.859 kB / 388.8 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.1152, allocations: 4 kB / 388.8 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1153, allocations: 42.52 kB / 388.8 MB, free: 8.227 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1153, allocations: 0 / 388.8 MB, free: 8.227 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001567/0.1155, allocations: 49.62 kB / 388.9 MB, free: 8.172 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1155, allocations: 55.39 kB / 388.9 MB, free: 8.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.1156, allocations: 89.86 kB / 389 MB, free: 8.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1156, allocations: 29.64 kB / 389.1 MB, free: 7.973 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.1156, allocations: 80.14 kB / 389.1 MB, free: 7.891 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1157, allocations: 12.12 kB / 389.1 MB, free: 7.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.1157, allocations: 4 kB / 389.2 MB, free: 7.875 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1159, allocations: 314.8 kB / 389.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.1159, allocations: 12.84 kB / 389.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.116, allocations: 17.72 kB / 389.5 MB, free: 7.52 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.116, allocations: 4 kB / 389.5 MB, free: 7.516 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.116, allocations: 0 / 389.5 MB, free: 7.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000112/0.1161, allocations: 53.62 kB / 389.5 MB, free: 7.457 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1161, allocations: 4 kB / 389.5 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1162, allocations: 15.92 kB / 389.6 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1162, allocations: 3.984 kB / 389.6 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.096e-05/0.1162, allocations: 12 kB / 389.6 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1162, allocations: 0 / 389.6 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.1163, allocations: 3.906 kB / 389.6 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1163, allocations: 4 kB / 389.6 MB, free: 7.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.1164, allocations: 111.2 kB / 389.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-06/0.1165, allocations: 0 / 389.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.1167, allocations: 69.11 kB / 389.8 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1167, allocations: 3.953 kB / 389.8 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1167, allocations: 0 / 389.8 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1167, allocations: 0 / 389.8 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1168, allocations: 149.7 kB / 389.9 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1168, allocations: 0 / 389.9 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.1169, allocations: 4 kB / 389.9 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1169, allocations: 8.359 kB / 389.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-06/0.1169, allocations: 4 kB / 389.9 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1169, allocations: 0 / 389.9 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1169, allocations: 7.953 kB / 389.9 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.1171, allocations: 81.05 kB / 390 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.1172, allocations: 81.09 kB / 390.1 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1172, allocations: 0 / 390.1 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.378e-05/0.1172, allocations: 4.031 kB / 390.1 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.1173, allocations: 8.016 kB / 390.1 MB, free: 6.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.1173, allocations: 8 kB / 390.1 MB, free: 6.777 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1174, allocations: 79.22 kB / 390.2 MB, free: 6.699 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1174, allocations: 0 / 390.2 MB, free: 6.699 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1177, allocations: 8 kB / 390.2 MB, free: 6.691 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005051/0.1182, allocations: 0.6281 MB / 390.8 MB, free: 6.035 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.433e-05/0.1183, allocations: 12 kB / 390.8 MB, free: 6.023 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1183, allocations: 0 / 390.8 MB, free: 6.023 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.812e-05/0.1183, allocations: 11.98 kB / 390.9 MB, free: 6.012 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.1185, allocations: 0 / 390.9 MB, free: 6.012 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.1191, allocations: 359.4 kB / 391.2 MB, free: 5.605 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.1193, allocations: 0.6731 MB / 391.9 MB, free: 4.906 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.753e-05/0.1194, allocations: 4 kB / 391.9 MB, free: 4.902 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.1194, allocations: 19.48 kB / 391.9 MB, free: 4.883 MB / 286.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1194, allocations: 0 / 391.9 MB, free: 4.883 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.1307, allocations: 1.053 MB / 393 MB, free: 3.938 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000323/0.1311, allocations: 217.7 kB / 393.2 MB, free: 3.695 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.844, allocations: 0 / 393.2 MB, free: 3.695 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/linux/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) Environment - environmentSimulation: