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.007414/0.007414, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001386/0.001385, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.336/1.336, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04199/0.04199, allocations: 8.121 MB / 278 MB, free: 12.93 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.001537/0.001537, allocations: 63.91 kB / 386.1 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2427, allocations: 48.3 MB / 434.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0018/0.2445, allocations: 420.4 kB / 434.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 8.87e-05/0.2446, allocations: 34.7 kB / 434.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.2446, allocations: 0 / 434.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.2448, allocations: 2.906 kB / 434.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2449, allocations: 22.61 kB / 434.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.057e-05/0.245, allocations: 14.8 kB / 434.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.928e-05/0.2451, allocations: 18.7 kB / 435 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.2451, allocations: 6.219 kB / 435 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.2452, allocations: 17.89 kB / 435 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.2453, allocations: 25.62 kB / 435 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.2453, allocations: 0 / 435 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.57e-05/0.2453, allocations: 10.16 kB / 435 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2453, allocations: 0.9844 kB / 435 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.2454, allocations: 10.67 kB / 435 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.389e-05/0.2455, allocations: 14.2 kB / 435 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2455, allocations: 0 / 435 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2455, allocations: 0 / 435 MB, free: 7.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2455, allocations: 0 / 435 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.0002694/0.2458, allocations: 321 kB / 435.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2458, allocations: 9.625 kB / 435.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.368e-05/0.2459, allocations: 36.69 kB / 435.4 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2459, allocations: 6.312 kB / 435.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.183e-05/0.246, allocations: 166.5 kB / 435.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.246, allocations: 1.75 kB / 435.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.246, allocations: 1.75 kB / 435.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.469e-05/0.2461, allocations: 36.72 kB / 435.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2461, allocations: 7.938 kB / 435.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2462, allocations: 4 kB / 435.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2462, allocations: 1.375 kB / 435.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.432e-05/0.2462, allocations: 5.672 kB / 435.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.2463, allocations: 150.6 kB / 435.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.2465, allocations: 32.12 kB / 435.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.2465, allocations: 14.88 kB / 435.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.2465, allocations: 8.812 kB / 435.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.2465, allocations: 35.75 kB / 435.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2466, allocations: 0 / 435.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001259/0.2467, allocations: 50.91 kB / 435.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.2467, allocations: 51.41 kB / 436 MB, free: 6.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.546e-05/0.2468, allocations: 101.1 kB / 436.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.2468, allocations: 29.7 kB / 436.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.213e-05/0.2468, allocations: 81.23 kB / 436.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.2468, allocations: 12.53 kB / 436.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.2468, allocations: 18.33 kB / 436.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.197e-05/0.2469, allocations: 311.7 kB / 436.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.2469, allocations: 9.328 kB / 436.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.2469, allocations: 19.61 kB / 436.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.247, allocations: 23.36 kB / 436.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.247, allocations: 5.156 kB / 436.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.453e-05/0.2471, allocations: 50.42 kB / 436.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2471, allocations: 8.906 kB / 436.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2471, allocations: 1.219 kB / 436.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2471, allocations: 1.906 kB / 436.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.968e-05/0.2471, allocations: 6.203 kB / 436.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2471, allocations: 1.125 kB / 436.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.2472, allocations: 1.156 kB / 436.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.2472, allocations: 1.125 kB / 436.6 MB, free: 5.445 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.0001034/0.2473, allocations: 129.4 kB / 436.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.2473, allocations: 10.59 kB / 436.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.2473, allocations: 3.5 kB / 436.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2473, allocations: 1.281 kB / 436.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2473, allocations: 0 / 436.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2473, allocations: 4.594 kB / 436.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.383e-05/0.2474, allocations: 156.5 kB / 436.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2474, allocations: 0 / 436.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.2474, allocations: 5.141 kB / 436.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2475, allocations: 7.938 kB / 436.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2475, allocations: 1.703 kB / 436.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2475, allocations: 4 kB / 436.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2475, allocations: 2.062 kB / 436.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.858e-05/0.2476, allocations: 76.95 kB / 437 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.2476, allocations: 77.86 kB / 437.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.2476, allocations: 6.031 kB / 437.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.2476, allocations: 0 / 437.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.2477, allocations: 7.688 kB / 437.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.2477, allocations: 3.938 kB / 437.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.712e-05/0.2477, allocations: 78.47 kB / 437.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2477, allocations: 0 / 437.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.2479, allocations: 4.047 kB / 437.2 MB, free: 4.836 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.000289/0.2482, allocations: 0.6343 MB / 437.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.571e-05/0.2483, allocations: 16.12 kB / 437.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2483, allocations: 1.406 kB / 437.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.2483, allocations: 11.09 kB / 437.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.2484, allocations: 2.094 kB / 437.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.249, allocations: 1.096 MB / 439 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.007e-05/0.2491, allocations: 0.6755 MB / 439.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.742e-05/0.2491, allocations: 3.609 kB / 439.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.2492, allocations: 10.91 kB / 439.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2492, allocations: 0 / 439.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.2664, allocations: 1.313 MB / 441 MB, free: 1.945 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.009, allocations: 5.328 kB / 441 MB, free: 1.945 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)