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: "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",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.005777/0.005776, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.00139/0.00139, allocations: 192 kB / 16.67 MB, free: 6.391 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.591/1.591, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05024/0.05024, allocations: 8.12 MB / 278 MB, free: 13.07 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.002149/0.002149, allocations: 76.52 kB / 386.2 MB, free: 9.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3014, allocations: 48.3 MB / 434.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0018/0.3033, allocations: 424.7 kB / 434.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 9.338e-05/0.3034, allocations: 31.5 kB / 434.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.3034, allocations: 0.8438 kB / 434.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.3036, allocations: 5.75 kB / 434.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.3037, allocations: 21.33 kB / 434.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.212e-05/0.3038, allocations: 15.42 kB / 434.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.647e-05/0.3038, allocations: 14.45 kB / 435 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.3039, allocations: 2.641 kB / 435 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.3039, allocations: 22.95 kB / 435 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.304, allocations: 28.25 kB / 435 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.304, allocations: 3.938 kB / 435 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.731e-05/0.3041, allocations: 7.391 kB / 435 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.3041, allocations: 3 kB / 435 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.3041, allocations: 7.922 kB / 435 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.584e-05/0.3042, allocations: 13.77 kB / 435 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3042, allocations: 1.25 kB / 435.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3043, allocations: 0 / 435.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3043, allocations: 0 / 435.1 MB, free: 7.133 MB / 318.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.0002701/0.3045, allocations: 324.7 kB / 435.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3046, allocations: 9.531 kB / 435.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.322e-05/0.3046, allocations: 33.56 kB / 435.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.3046, allocations: 0.9375 kB / 435.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.787e-05/0.3047, allocations: 162.8 kB / 435.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3048, allocations: 1.219 kB / 435.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3048, allocations: 1.969 kB / 435.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.31e-05/0.3049, allocations: 44.69 kB / 435.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3049, allocations: 3.938 kB / 435.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3049, allocations: 5.531 kB / 435.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3049, allocations: 0 / 435.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.688e-05/0.305, allocations: 4.406 kB / 435.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.3051, allocations: 155.4 kB / 435.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3053, allocations: 32.3 kB / 435.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.3053, allocations: 14.16 kB / 435.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3053, allocations: 5.078 kB / 435.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.3053, allocations: 40.31 kB / 435.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3054, allocations: 0 / 435.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001383/0.3055, allocations: 52.91 kB / 435.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.3055, allocations: 53.5 kB / 436 MB, free: 6.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.915e-05/0.3056, allocations: 97.14 kB / 436.1 MB, free: 6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.3056, allocations: 25.7 kB / 436.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.629e-05/0.3056, allocations: 81.14 kB / 436.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3057, allocations: 10.36 kB / 436.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.3057, allocations: 17.61 kB / 436.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.3057, allocations: 313.7 kB / 436.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.3058, allocations: 17.12 kB / 436.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/0.3058, allocations: 18.84 kB / 436.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.74e-05/0.3058, allocations: 23.3 kB / 436.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3059, allocations: 1.344 kB / 436.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.044e-05/0.3059, allocations: 58.75 kB / 436.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.306, allocations: 8.844 kB / 436.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.306, allocations: 1.281 kB / 436.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.306, allocations: 0 / 436.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.159e-05/0.306, allocations: 7.438 kB / 436.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.306, allocations: 0.5625 kB / 436.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.3061, allocations: 5.062 kB / 436.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.3061, allocations: 2.312 kB / 436.6 MB, free: 5.438 MB / 318.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.0001213/0.3062, allocations: 117.1 kB / 436.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.3062, allocations: 5.375 kB / 436.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.3062, allocations: 5.188 kB / 436.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3062, allocations: 0 / 436.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3063, allocations: 1.188 kB / 436.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3063, allocations: 4.922 kB / 436.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.339e-05/0.3063, allocations: 151.1 kB / 436.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3063, allocations: 0.7031 kB / 436.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.3064, allocations: 10.22 kB / 436.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3064, allocations: 3.938 kB / 436.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3064, allocations: 4.656 kB / 436.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3064, allocations: 1.094 kB / 436.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3064, allocations: 0 / 436.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.3065, allocations: 77.94 kB / 437 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.3065, allocations: 77.81 kB / 437.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3066, allocations: 5.641 kB / 437.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.24e-05/0.3066, allocations: 1.656 kB / 437.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.3066, allocations: 6.375 kB / 437.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.3066, allocations: 4 kB / 437.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.802e-05/0.3066, allocations: 78.17 kB / 437.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3066, allocations: 0 / 437.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002021/0.3068, allocations: 12.3 kB / 437.2 MB, free: 4.84 MB / 318.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.0003811/0.3072, allocations: 0.6422 MB / 437.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.112e-05/0.3073, allocations: 13.25 kB / 437.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3073, allocations: 5.219 kB / 437.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.3074, allocations: 9.531 kB / 437.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.3075, allocations: 3.062 kB / 437.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.3082, allocations: 1.097 MB / 439 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.903e-05/0.3083, allocations: 0.673 MB / 439.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.701e-05/0.3083, allocations: 5.578 kB / 439.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.3084, allocations: 8.906 kB / 439.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3084, allocations: 0 / 439.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.3329, allocations: 1.297 MB / 441 MB, free: 1.953 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.376, allocations: 1.844 kB / 441 MB, free: 1.953 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)