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.007539/0.007539, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.002/0.002, allocations: 193.1 kB / 16.67 MB, free: 5.918 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.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04141/0.04141, allocations: 8.121 MB / 278 MB, free: 13.05 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.002615/0.002615, allocations: 63.91 kB / 386.2 MB, free: 9.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2593, allocations: 48.29 MB / 434.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.00148/0.2608, allocations: 428.4 kB / 434.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 7.277e-05/0.2609, allocations: 34.77 kB / 434.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.2609, allocations: 0 / 434.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.261, allocations: 7.719 kB / 434.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.2611, allocations: 26.61 kB / 434.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.502e-05/0.2612, allocations: 2.875 kB / 434.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.162e-05/0.2612, allocations: 22.69 kB / 435 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.2613, allocations: 6.266 kB / 435 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.609e-05/0.2613, allocations: 14.03 kB / 435 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.2614, allocations: 33.69 kB / 435 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2614, allocations: 0 / 435 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.868e-05/0.2614, allocations: 5.25 kB / 435 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.2615, allocations: 6.203 kB / 435 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.2615, allocations: 5.188 kB / 435 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.463e-05/0.2616, allocations: 15.44 kB / 435 MB, free: 7.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2616, allocations: 1.094 kB / 435 MB, free: 7.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2616, allocations: 0 / 435 MB, free: 7.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.2616, allocations: 4 kB / 435 MB, free: 7.137 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.0002022/0.2618, allocations: 319.3 kB / 435.4 MB, free: 6.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2618, allocations: 10.98 kB / 435.4 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.909e-05/0.2619, allocations: 30.75 kB / 435.4 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.126e-05/0.2619, allocations: 6.781 kB / 435.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.796e-05/0.2619, allocations: 163.1 kB / 435.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.262, allocations: 5.5 kB / 435.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.262, allocations: 1.656 kB / 435.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.922e-05/0.2621, allocations: 36.73 kB / 435.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2621, allocations: 8.875 kB / 435.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-06/0.2621, allocations: 0 / 435.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2621, allocations: 1.156 kB / 435.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.2621, allocations: 8.312 kB / 435.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.895e-05/0.2622, allocations: 147.9 kB / 435.8 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.2624, allocations: 31.86 kB / 435.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.2624, allocations: 14.36 kB / 435.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2624, allocations: 9.203 kB / 435.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.2625, allocations: 36.45 kB / 435.9 MB, free: 6.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2625, allocations: 0 / 435.9 MB, free: 6.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001159/0.2626, allocations: 48.78 kB / 435.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.2626, allocations: 56.05 kB / 436 MB, free: 6.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.124e-05/0.2627, allocations: 97.48 kB / 436.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.2627, allocations: 26.98 kB / 436.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.849e-06/0.2627, allocations: 84.27 kB / 436.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.2627, allocations: 12.97 kB / 436.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.2627, allocations: 12.94 kB / 436.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.548e-05/0.2628, allocations: 317.1 kB / 436.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.2628, allocations: 10.22 kB / 436.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.9e-05/0.2628, allocations: 22.98 kB / 436.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.2629, allocations: 26.7 kB / 436.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2629, allocations: 0 / 436.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.234e-05/0.2629, allocations: 52.83 kB / 436.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.263, allocations: 8.062 kB / 436.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.263, allocations: 5.25 kB / 436.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.263, allocations: 1.031 kB / 436.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-05/0.263, allocations: 6.562 kB / 436.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.263, allocations: 1.125 kB / 436.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.263, allocations: 2.094 kB / 436.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.2631, allocations: 1.156 kB / 436.6 MB, free: 5.449 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 8.96e-05/0.2631, allocations: 125.9 kB / 436.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.2632, allocations: 11.78 kB / 436.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.2632, allocations: 5.938 kB / 436.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2632, allocations: 0 / 436.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2632, allocations: 0 / 436.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2632, allocations: 2.156 kB / 436.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.342e-05/0.2633, allocations: 151 kB / 436.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2633, allocations: 0 / 436.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.2633, allocations: 9.891 kB / 436.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2633, allocations: 7.938 kB / 436.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.2633, allocations: 2.312 kB / 436.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2633, allocations: 0 / 436.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2633, allocations: 0 / 436.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.914e-05/0.2634, allocations: 70.73 kB / 437 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.2635, allocations: 81.62 kB / 437.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.2635, allocations: 5.922 kB / 437.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.2635, allocations: 0 / 437.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.2635, allocations: 6.625 kB / 437.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.2635, allocations: 1.406 kB / 437.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.2635, allocations: 77.78 kB / 437.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2635, allocations: 0 / 437.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001803/0.2637, allocations: 7.844 kB / 437.2 MB, free: 4.852 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.0002876/0.264, allocations: 0.6434 MB / 437.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.618e-05/0.2641, allocations: 20.77 kB / 437.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2641, allocations: 0 / 437.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.2641, allocations: 6.781 kB / 437.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.2643, allocations: 5.578 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.0005639/0.2648, allocations: 1.099 MB / 439 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.984e-05/0.2649, allocations: 0.6741 MB / 439.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.243e-05/0.265, allocations: 2.469 kB / 439.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.265, allocations: 11.16 kB / 439.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.265, allocations: 3.938 kB / 439.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.2821, allocations: 1.308 MB / 441 MB, free: 1.949 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/7.726, allocations: 2.531 kB / 441 MB, free: 1.949 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)