Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselY0.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008496/0.0008495, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.00548/0.00548, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 9.594 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3478, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002403/0.3503, allocations: 1.158 MB / 1.075 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3513, allocations: 359 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.3514, allocations: 4 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.3514, allocations: 0 / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.3515, allocations: 3.984 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.352, allocations: 75.8 kB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3521, allocations: 27.92 kB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3523, allocations: 0 / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.3523, allocations: 11.92 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.3524, allocations: 11.98 kB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.3524, allocations: 0 / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.3528, allocations: 127.8 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.3528, allocations: 11.92 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.3529, allocations: 33.69 kB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.3532, allocations: 87.75 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3532, allocations: 0 / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3532, allocations: 0 / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3532, allocations: 0 / 1.076 GB, free: 5.637 MB / 0.8262 GB 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.0006729/0.3539, allocations: 363.8 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.354, allocations: 8.031 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.354, allocations: 4.844 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.3542, allocations: 164.4 kB / 1.076 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3542, allocations: 384 / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.3543, allocations: 384 / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.3545, allocations: 54.23 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3545, allocations: 4.188 kB / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3546, allocations: 3.938 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3546, allocations: 4 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.3548, allocations: 47.89 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.3553, allocations: 245 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3555, allocations: 46.44 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3556, allocations: 40.81 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009062/0.3565, allocations: 453.5 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3566, allocations: 34.56 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.3566, allocations: 0 / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0005255/0.3571, allocations: 101.6 kB / 1.077 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.3572, allocations: 51.41 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.475e-05/0.3573, allocations: 106 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3573, allocations: 29.7 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3575, allocations: 84.05 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3575, allocations: 4 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.3575, allocations: 9.719 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3577, allocations: 314.8 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3578, allocations: 23.98 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.358, allocations: 23.98 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.3583, allocations: 52.83 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3583, allocations: 0 / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003114/0.3586, allocations: 81.5 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3586, allocations: 5.562 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3586, allocations: 0 / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3587, allocations: 0 / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3588, allocations: 16.02 kB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3588, allocations: 4 kB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.3589, allocations: 11.98 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3589, allocations: 0 / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001141/0.359, allocations: 114.4 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3591, allocations: 0 / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.3594, allocations: 88.72 kB / 1.078 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3594, allocations: 0 / 1.078 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3594, allocations: 0 / 1.078 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3595, allocations: 0 / 1.078 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.3597, allocations: 161.6 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3597, allocations: 4.031 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.3598, allocations: 15.98 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3598, allocations: 0 / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.3598, allocations: 0 / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3598, allocations: 3.938 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3599, allocations: 4 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.3602, allocations: 175.4 kB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.3603, allocations: 92.95 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3603, allocations: 0 / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3605, allocations: 7.984 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.3605, allocations: 4 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3605, allocations: 7.969 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.3606, allocations: 79.28 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3606, allocations: 0 / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004256/0.3611, allocations: 35.98 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0003584/0.3614, allocations: 139.2 kB / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.3618, allocations: 43.97 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3618, allocations: 0 / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.3619, allocations: 28.03 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3623, allocations: 11.88 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.3627, allocations: 104.7 kB / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3631, allocations: 0.677 MB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.3631, allocations: 4.062 kB / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.3631, allocations: 7.438 kB / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3632, allocations: 4 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.00427/0.3674, allocations: 0.805 MB / 1.081 GB, free: 220 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1)