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: translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001149/0.001149, allocations: 191.6 kB / 16.25 MB, free: 6.617 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.53/1.53, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03855/0.03855, allocations: 8.102 MB / 277.6 MB, free: 13.34 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.001286/0.001286, allocations: 63.91 kB / 336.7 MB, free: 26.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08907, allocations: 48.3 MB / 385 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001788/0.0909, allocations: 483.8 kB / 385.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 8.472e-05/0.091, allocations: 41.53 kB / 385.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.09103, allocations: 0 / 385.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.09118, allocations: 7.938 kB / 385.5 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.73e-05/0.09128, allocations: 19.97 kB / 385.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.834e-05/0.09133, allocations: 7.984 kB / 385.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.09139, allocations: 15.98 kB / 385.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.09145, allocations: 7.984 kB / 385.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.09148, allocations: 7.938 kB / 385.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.09155, allocations: 35.95 kB / 385.6 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.09157, allocations: 0 / 385.6 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.09161, allocations: 12 kB / 385.6 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.09163, allocations: 4 kB / 385.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.09166, allocations: 7.922 kB / 385.6 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.884e-05/0.09173, allocations: 11.98 kB / 385.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09174, allocations: 0 / 385.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.09175, allocations: 3.938 kB / 385.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.09176, allocations: 3.984 kB / 385.6 MB, free: 9.863 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.0002754/0.09204, allocations: 319.6 kB / 385.9 MB, free: 9.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.09209, allocations: 15.89 kB / 386 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.09212, allocations: 8.859 kB / 386 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.09223, allocations: 164.4 kB / 386.1 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.09224, allocations: 384 / 386.1 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.09227, allocations: 8.312 kB / 386.1 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.09238, allocations: 34.25 kB / 386.2 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.09239, allocations: 4.094 kB / 386.2 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.09241, allocations: 3.938 kB / 386.2 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.09242, allocations: 0 / 386.2 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.09245, allocations: 4 kB / 386.2 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.09258, allocations: 157.7 kB / 386.3 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.09276, allocations: 34.52 kB / 386.4 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.09279, allocations: 16.91 kB / 386.4 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.09281, allocations: 0 / 386.4 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.09284, allocations: 30.56 kB / 386.4 MB, free: 8.914 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.09284, allocations: 8 kB / 386.4 MB, free: 8.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001197/0.09297, allocations: 49.56 kB / 386.5 MB, free: 8.852 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.09301, allocations: 55.41 kB / 386.5 MB, free: 8.785 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.09308, allocations: 89.86 kB / 386.6 MB, free: 8.688 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.09309, allocations: 25.7 kB / 386.6 MB, free: 8.656 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.09312, allocations: 80.14 kB / 386.7 MB, free: 8.574 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.09315, allocations: 16.12 kB / 386.7 MB, free: 8.559 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.09319, allocations: 17.7 kB / 386.8 MB, free: 8.535 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.09329, allocations: 315 kB / 387.1 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.09331, allocations: 12.86 kB / 387.1 MB, free: 8.203 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.09334, allocations: 17.7 kB / 387.1 MB, free: 8.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.09338, allocations: 29.66 kB / 387.1 MB, free: 8.145 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.09339, allocations: 0 / 387.1 MB, free: 8.145 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.776e-05/0.09346, allocations: 49.88 kB / 387.2 MB, free: 8.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.09348, allocations: 14.22 kB / 387.2 MB, free: 8.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.09349, allocations: 7.938 kB / 387.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.09351, allocations: 0 / 387.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.672e-05/0.09354, allocations: 4.047 kB / 387.2 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.09356, allocations: 7.938 kB / 387.2 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.09358, allocations: 3.984 kB / 387.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.09358, allocations: 0 / 387.2 MB, free: 8.055 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 9.938e-05/0.09369, allocations: 113.8 kB / 387.3 MB, free: 7.934 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-06/0.0937, allocations: 0 / 387.3 MB, free: 7.934 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/0.0938, allocations: 61.06 kB / 387.4 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.09381, allocations: 4 kB / 387.4 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.09382, allocations: 3.938 kB / 387.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.09382, allocations: 0 / 387.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.202e-05/0.09392, allocations: 149.7 kB / 387.5 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.09393, allocations: 0 / 387.5 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.09397, allocations: 4 kB / 387.5 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.09397, allocations: 3.938 kB / 387.5 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.09398, allocations: 3.938 kB / 387.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.09399, allocations: 0 / 387.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.094, allocations: 4 kB / 387.5 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.999e-05/0.0941, allocations: 73.12 kB / 387.6 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.09414, allocations: 85 kB / 387.7 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.09415, allocations: 3.938 kB / 387.7 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.09417, allocations: 4.031 kB / 387.7 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.09419, allocations: 4 kB / 387.7 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.0942, allocations: 0 / 387.7 MB, free: 7.438 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.244e-05/0.09423, allocations: 83.34 kB / 387.8 MB, free: 7.355 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09424, allocations: 0 / 387.8 MB, free: 7.355 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001836/0.09443, allocations: 0 / 387.8 MB, free: 7.355 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.0001635/0.0946, allocations: 111.1 kB / 387.9 MB, free: 7.242 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.445e-05/0.09469, allocations: 19.94 kB / 387.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0947, allocations: 4.156 kB / 387.9 MB, free: 7.219 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.43e-05/0.09471, allocations: 12.17 kB / 387.9 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.09483, allocations: 0 / 387.9 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.0951, allocations: 129.8 kB / 388.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.09531, allocations: 0.6805 MB / 388.7 MB, free: 6.348 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.157e-05/0.09534, allocations: 8 kB / 388.8 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.09537, allocations: 11.44 kB / 388.8 MB, free: 6.328 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09537, allocations: 0 / 388.8 MB, free: 6.328 MB / 286.1 MB Notification: Performance of Templates: time 0.002104/0.09748, allocations: 468 kB / 389.2 MB, free: 5.879 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile (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 & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)