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.01122/0.01122, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002618/0.002618, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.777/1.777, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04474/0.04474, allocations: 8.113 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.00184/0.001841, allocations: 73.05 kB / 386.2 MB, free: 9.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3499, allocations: 48.29 MB / 434.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.00188/0.3519, allocations: 424.4 kB / 434.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 9.886e-05/0.352, allocations: 34.58 kB / 434.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.3521, allocations: 0 / 434.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.3522, allocations: 10.27 kB / 434.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.3523, allocations: 21.59 kB / 434.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.1e-05/0.3524, allocations: 10.45 kB / 434.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.93e-05/0.3525, allocations: 19.83 kB / 435 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.3525, allocations: 5.938 kB / 435 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.3526, allocations: 19.47 kB / 435 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.3527, allocations: 27.58 kB / 435 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3527, allocations: 1.281 kB / 435 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.3527, allocations: 5.219 kB / 435 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.3527, allocations: 1.969 kB / 435 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.3528, allocations: 9.031 kB / 435 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3529, allocations: 11.8 kB / 435 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3529, allocations: 0 / 435 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3529, allocations: 0 / 435 MB, free: 7.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3529, allocations: 0 / 435 MB, free: 7.164 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.0002537/0.3532, allocations: 324.8 kB / 435.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3532, allocations: 10.47 kB / 435.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.497e-05/0.3533, allocations: 35.91 kB / 435.4 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.3533, allocations: 2.188 kB / 435.4 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.991e-05/0.3534, allocations: 166.9 kB / 435.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3534, allocations: 384 / 435.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.3534, allocations: 5.719 kB / 435.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/0.3535, allocations: 36.7 kB / 435.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3535, allocations: 9.094 kB / 435.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3536, allocations: 8 kB / 435.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.3536, allocations: 0 / 435.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.3536, allocations: 6.281 kB / 435.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.3537, allocations: 155 kB / 435.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.3539, allocations: 39.92 kB / 435.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.354, allocations: 14.92 kB / 435.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.354, allocations: 5.281 kB / 435.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.354, allocations: 30.56 kB / 435.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.354, allocations: 1.375 kB / 435.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.3542, allocations: 55.88 kB / 435.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.3542, allocations: 53.53 kB / 436 MB, free: 6.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.278e-05/0.3543, allocations: 92.64 kB / 436.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.3543, allocations: 27.08 kB / 436.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.407e-05/0.3543, allocations: 84.27 kB / 436.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3543, allocations: 10.73 kB / 436.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.3544, allocations: 13.62 kB / 436.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.3544, allocations: 313.3 kB / 436.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.3545, allocations: 12.61 kB / 436.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.3545, allocations: 15.81 kB / 436.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.3545, allocations: 30.52 kB / 436.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3545, allocations: 5.156 kB / 436.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.136e-05/0.3546, allocations: 50.98 kB / 436.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3547, allocations: 9.281 kB / 436.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3547, allocations: 0.75 kB / 436.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3547, allocations: 1.312 kB / 436.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/0.3547, allocations: 11.02 kB / 436.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3547, allocations: 0 / 436.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.3548, allocations: 2.031 kB / 436.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3548, allocations: 1.188 kB / 436.6 MB, free: 5.461 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.0001877/0.355, allocations: 117.5 kB / 436.8 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.355, allocations: 5 kB / 436.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.355, allocations: 9.188 kB / 436.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.355, allocations: 1.219 kB / 436.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.355, allocations: 1.062 kB / 436.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3551, allocations: 3.938 kB / 436.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.639e-05/0.3552, allocations: 147.9 kB / 436.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3552, allocations: 0 / 436.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.3552, allocations: 5.281 kB / 436.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3552, allocations: 9.094 kB / 436.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3552, allocations: 4 kB / 436.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3552, allocations: 5.125 kB / 436.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3553, allocations: 0.9844 kB / 437 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.3554, allocations: 77.45 kB / 437 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.3554, allocations: 77.91 kB / 437.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3554, allocations: 9.906 kB / 437.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.361e-05/0.3555, allocations: 4.047 kB / 437.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.3555, allocations: 11.78 kB / 437.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.3555, allocations: 0 / 437.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.361e-05/0.3555, allocations: 78.06 kB / 437.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3555, allocations: 0 / 437.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.3558, allocations: 7.25 kB / 437.2 MB, free: 4.855 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.0003795/0.3561, allocations: 0.6279 MB / 437.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.3563, allocations: 17.28 kB / 437.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3563, allocations: 0 / 437.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/0.3563, allocations: 6.672 kB / 437.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.3565, allocations: 1.094 kB / 437.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.3572, allocations: 1.101 MB / 439 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.3573, allocations: 0.6735 MB / 439.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.302e-05/0.3574, allocations: 7.531 kB / 439.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.3574, allocations: 10.94 kB / 439.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3574, allocations: 3.938 kB / 439.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.3836, allocations: 1.293 MB / 441 MB, free: 1.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.107, allocations: 5.812 kB / 441 MB, free: 1.977 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 & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)