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.00133/0.00133, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0009716/0.0009716, allocations: 177.3 kB / 15.94 MB, free: 228 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.582/1.582, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04088/0.04088, allocations: 8.101 MB / 278.5 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.0005428/0.0005431, allocations: 12 kB / 338.3 MB, free: 26.95 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.097/0.09756, allocations: 49.28 MB / 387.6 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.0006961/0.09833, allocations: 120.8 kB / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003268/0.09868, allocations: 55.91 kB / 387.8 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.562e-05/0.09873, allocations: 0 / 387.8 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.09876, allocations: 3.938 kB / 387.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.825e-06/0.09878, allocations: 8 kB / 387.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.09934, allocations: 55.84 kB / 387.8 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.676e-05/0.09943, allocations: 11.94 kB / 387.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.825e-05/0.0995, allocations: 7.984 kB / 387.9 MB, free: 9.367 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.09953, allocations: 4 kB / 387.9 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.571e-05/0.09964, allocations: 23.95 kB / 387.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.09966, allocations: 4 kB / 387.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.0998, allocations: 19.98 kB / 387.9 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.09982, allocations: 0 / 387.9 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.09987, allocations: 37.69 kB / 387.9 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.756e-05/0.09997, allocations: 15.98 kB / 388 MB, free: 9.258 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.09999, allocations: 0 / 388 MB, free: 9.258 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.09999, allocations: 0 / 388 MB, free: 9.258 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1, allocations: 0 / 388 MB, free: 9.258 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.0003674/0.1004, allocations: 315.4 kB / 388.3 MB, free: 8.902 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.1004, allocations: 8.031 kB / 388.3 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.1005, allocations: 34.5 kB / 388.3 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.1005, allocations: 4 kB / 388.3 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1007, allocations: 163.1 kB / 388.5 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1007, allocations: 4 kB / 388.5 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.1007, allocations: 3.953 kB / 388.5 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1009, allocations: 33.69 kB / 388.5 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1009, allocations: 4 kB / 388.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1009, allocations: 0 / 388.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1009, allocations: 0 / 388.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.722e-05/0.101, allocations: 11.98 kB / 388.5 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.1012, allocations: 153.6 kB / 388.7 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1014, allocations: 42.5 kB / 388.7 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.1015, allocations: 0 / 388.7 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.1015, allocations: 46.66 kB / 388.8 MB, free: 8.281 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1015, allocations: 3.938 kB / 388.8 MB, free: 8.277 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001907/0.1017, allocations: 45.62 kB / 388.8 MB, free: 8.227 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.1018, allocations: 55.41 kB / 388.9 MB, free: 8.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.102, allocations: 89.86 kB / 389 MB, free: 8.062 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.102, allocations: 29.7 kB / 389 MB, free: 8.027 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.1021, allocations: 84.14 kB / 389.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.1021, allocations: 12.11 kB / 389.1 MB, free: 7.93 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.1021, allocations: 0 / 389.1 MB, free: 7.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0004605/0.1026, allocations: 318.8 kB / 389.4 MB, free: 7.609 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/0.1027, allocations: 8.859 kB / 389.4 MB, free: 7.598 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.1027, allocations: 13.72 kB / 389.4 MB, free: 7.578 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.1027, allocations: 17.64 kB / 389.4 MB, free: 7.562 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1028, allocations: 4 kB / 389.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.1029, allocations: 53.62 kB / 389.5 MB, free: 7.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.1029, allocations: 8 kB / 389.5 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1029, allocations: 0 / 389.5 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.103, allocations: 3.953 kB / 389.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.103, allocations: 8 kB / 389.5 MB, free: 7.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.103, allocations: 3.984 kB / 389.5 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.1031, allocations: 7.891 kB / 389.5 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.1031, allocations: 8 kB / 389.5 MB, free: 7.461 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.0002955/0.1034, allocations: 113.9 kB / 389.6 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.1034, allocations: 0 / 389.6 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.1036, allocations: 61.11 kB / 389.7 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.1036, allocations: 7.953 kB / 389.7 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.1037, allocations: 0 / 389.7 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1037, allocations: 4 kB / 389.7 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1038, allocations: 153.7 kB / 389.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1038, allocations: 0 / 389.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.712e-05/0.1039, allocations: 4 kB / 389.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1039, allocations: 0 / 389.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1039, allocations: 4 kB / 389.9 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.1039, allocations: 0 / 389.9 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.104, allocations: 3.953 kB / 389.9 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1042, allocations: 85.47 kB / 389.9 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.1042, allocations: 77.11 kB / 390 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.1043, allocations: 3.938 kB / 390 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.507e-05/0.1043, allocations: 4.031 kB / 390 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.1043, allocations: 3.984 kB / 390 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.1043, allocations: 11.94 kB / 390 MB, free: 6.824 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.819e-05/0.1044, allocations: 75.28 kB / 390.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1044, allocations: 0 / 390.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1046, allocations: 12 kB / 390.1 MB, free: 6.738 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.0005127/0.1052, allocations: 0.6203 MB / 390.8 MB, free: 6.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.1053, allocations: 11.98 kB / 390.8 MB, free: 6.078 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1053, allocations: 0 / 390.8 MB, free: 6.078 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.1053, allocations: 12 kB / 390.8 MB, free: 6.066 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.1054, allocations: 0 / 390.8 MB, free: 6.066 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/0.1062, allocations: 0.4977 MB / 391.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.1066, allocations: 0.677 MB / 392 MB, free: 4.812 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.403e-05/0.1067, allocations: 12 kB / 392 MB, free: 4.801 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.1068, allocations: 11.44 kB / 392 MB, free: 4.789 MB / 286.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1068, allocations: 0 / 392 MB, free: 4.789 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.1198, allocations: 1.039 MB / 393 MB, free: 3.859 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.1201, allocations: 208.4 kB / 393.2 MB, free: 3.617 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.899, allocations: 11.8 kB / 393.2 MB, free: 3.609 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: