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.001207/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001207/0.001207, allocations: 192.8 kB / 16.14 MB, free: 6.668 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.513/1.513, allocations: 205.1 MB / 222 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1182/0.1182, allocations: 8.104 MB / 277.4 MB, free: 13.36 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.001394/0.001394, allocations: 67.91 kB / 336.6 MB, free: 26.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08529/0.08669, allocations: 48.29 MB / 384.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001529/0.08827, allocations: 463.9 kB / 385.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003126/0.0886, allocations: 77.55 kB / 385.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.12e-05/0.08862, allocations: 0 / 385.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.08865, allocations: 0 / 385.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.08866, allocations: 0 / 385.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.089, allocations: 55.84 kB / 385.5 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.565e-05/0.08906, allocations: 15.98 kB / 385.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.0891, allocations: 0 / 385.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.79e-05/0.08913, allocations: 19.92 kB / 385.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.08921, allocations: 23.97 kB / 385.5 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.08923, allocations: 4 kB / 385.5 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.08934, allocations: 31.91 kB / 385.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.08936, allocations: 0 / 385.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.08939, allocations: 8 kB / 385.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.85e-05/0.08949, allocations: 31.89 kB / 385.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.0895, allocations: 0 / 385.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.08951, allocations: 0 / 385.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.08951, allocations: 0 / 385.6 MB, free: 9.805 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.0002935/0.08981, allocations: 319.6 kB / 385.9 MB, free: 9.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.08985, allocations: 8.031 kB / 385.9 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.08989, allocations: 34.75 kB / 386 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.08993, allocations: 8.938 kB / 386 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.098e-05/0.09001, allocations: 168.3 kB / 386.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.09003, allocations: 384 / 386.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.09005, allocations: 384 / 386.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.09015, allocations: 34.25 kB / 386.2 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.09017, allocations: 3.938 kB / 386.2 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.09019, allocations: 7.984 kB / 386.2 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.09019, allocations: 0 / 386.2 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.578e-05/0.09023, allocations: 8 kB / 386.2 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.09038, allocations: 157.6 kB / 386.3 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.09054, allocations: 38.55 kB / 386.4 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.09058, allocations: 12.92 kB / 386.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.09062, allocations: 4 kB / 386.4 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.09065, allocations: 30.56 kB / 386.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 2.605e-06/0.09065, allocations: 4 kB / 386.4 MB, free: 8.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001328/0.09079, allocations: 53.61 kB / 386.5 MB, free: 8.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.09083, allocations: 59.34 kB / 386.5 MB, free: 8.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.411e-05/0.09087, allocations: 89.86 kB / 386.6 MB, free: 8.582 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.09089, allocations: 29.64 kB / 386.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.103e-05/0.09092, allocations: 80.14 kB / 386.7 MB, free: 8.465 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.09096, allocations: 12.12 kB / 386.8 MB, free: 8.453 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.09099, allocations: 17.7 kB / 386.8 MB, free: 8.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.09109, allocations: 314.8 kB / 387.1 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.09112, allocations: 12.86 kB / 387.1 MB, free: 8.098 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.653e-05/0.09116, allocations: 21.7 kB / 387.1 MB, free: 8.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.476e-05/0.09121, allocations: 25.72 kB / 387.1 MB, free: 8.039 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.09121, allocations: 0 / 387.1 MB, free: 8.039 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.388e-05/0.09129, allocations: 53.62 kB / 387.2 MB, free: 7.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.09132, allocations: 4.625 kB / 387.2 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.09133, allocations: 3.938 kB / 387.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.09134, allocations: 4.031 kB / 387.2 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.251e-05/0.09138, allocations: 11.98 kB / 387.2 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.09139, allocations: 3.938 kB / 387.2 MB, free: 7.953 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.09141, allocations: 7.906 kB / 387.2 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.09143, allocations: 4 kB / 387.2 MB, free: 7.941 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.0001149/0.09155, allocations: 113.8 kB / 387.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-06/0.09156, allocations: 0 / 387.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.09169, allocations: 65.11 kB / 387.4 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.0917, allocations: 0 / 387.4 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.09171, allocations: 4 kB / 387.4 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.09172, allocations: 4.375 kB / 387.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.233e-05/0.09181, allocations: 149.7 kB / 387.6 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.09181, allocations: 0 / 387.6 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.09185, allocations: 8 kB / 387.6 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.09186, allocations: 4 kB / 387.6 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.09188, allocations: 11.91 kB / 387.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.09188, allocations: 0 / 387.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.09189, allocations: 3.938 kB / 387.6 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.09201, allocations: 73.12 kB / 387.7 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.09205, allocations: 85.09 kB / 387.7 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.09206, allocations: 3.938 kB / 387.7 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.009e-05/0.09208, allocations: 0 / 387.7 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.0921, allocations: 8.094 kB / 387.7 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.09211, allocations: 4 kB / 387.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.851e-05/0.09214, allocations: 83.22 kB / 387.8 MB, free: 7.223 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09215, allocations: 0 / 387.8 MB, free: 7.223 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.09235, allocations: 12 kB / 387.8 MB, free: 7.211 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.0003409/0.0927, allocations: 0.6241 MB / 388.5 MB, free: 6.559 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.008e-05/0.09279, allocations: 16 kB / 388.5 MB, free: 6.543 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0928, allocations: 0 / 388.5 MB, free: 6.543 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/0.09282, allocations: 15.92 kB / 388.5 MB, free: 6.527 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.09295, allocations: 3.938 kB / 388.5 MB, free: 6.523 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007987/0.09376, allocations: 1.098 MB / 389.6 MB, free: 5.336 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.09398, allocations: 0.6731 MB / 390.3 MB, free: 4.637 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.056e-05/0.09403, allocations: 12.05 kB / 390.3 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.09406, allocations: 15.42 kB / 390.3 MB, free: 4.609 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09407, allocations: 0 / 390.3 MB, free: 4.609 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.1093, allocations: 1.128 MB / 391.4 MB, free: 3.57 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.1096, allocations: 234.5 kB / 391.7 MB, free: 3.309 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/1.749, allocations: 3.594 kB / 391.7 MB, free: 3.309 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)