Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00115/0.00115, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001166/0.001166, allocations: 187 kB / 17.34 MB, free: 5.742 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.00205, allocations: 279.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.94/0.94, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4075, allocations: 86.96 MB / 0.767 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.00231/0.4099, allocations: 1.422 MB / 0.7684 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006059/0.4105, allocations: 351.6 kB / 0.7688 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.4105, allocations: 0 / 0.7688 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.4106, allocations: 0 / 0.7688 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.4106, allocations: 7.922 kB / 0.7688 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.411, allocations: 95.72 kB / 0.7689 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.4111, allocations: 31.86 kB / 0.7689 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.4112, allocations: 0 / 0.7689 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.951e-05/0.4112, allocations: 15.98 kB / 0.7689 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.4113, allocations: 11.94 kB / 0.7689 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.395e-06/0.4113, allocations: 0 / 0.7689 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.4115, allocations: 123.8 kB / 0.769 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.4115, allocations: 4 kB / 0.769 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.4115, allocations: 7.938 kB / 0.7691 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.4117, allocations: 87.81 kB / 0.7691 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4117, allocations: 0 / 0.7691 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4117, allocations: 3.938 kB / 0.7691 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4117, allocations: 0 / 0.7691 GB, free: 1.59 MB / 0.5294 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.0004171/0.4121, allocations: 355.1 kB / 0.7695 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.4122, allocations: 8.031 kB / 0.7695 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.4122, allocations: 4.922 kB / 0.7695 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.4123, allocations: 172.4 kB / 0.7697 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.4123, allocations: 384 / 0.7697 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.4124, allocations: 384 / 0.7697 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.4125, allocations: 50.23 kB / 0.7697 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4125, allocations: 4.188 kB / 0.7697 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4126, allocations: 7.938 kB / 0.7697 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4126, allocations: 0 / 0.7697 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.4127, allocations: 31.97 kB / 0.7698 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.413, allocations: 256.8 kB / 0.77 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.4131, allocations: 38.5 kB / 0.77 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.4132, allocations: 32.89 kB / 0.7701 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/0.4139, allocations: 449.5 kB / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.4139, allocations: 34.56 kB / 0.7705 GB, free: 15.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4139, allocations: 0 / 0.7705 GB, free: 15.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003395/0.4142, allocations: 85.58 kB / 0.7706 GB, free: 15.83 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.4143, allocations: 51.41 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.4144, allocations: 101.8 kB / 0.7708 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.4144, allocations: 29.7 kB / 0.7708 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.4144, allocations: 80.27 kB / 0.7709 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.4144, allocations: 10.44 kB / 0.7709 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.4145, allocations: 21.66 kB / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.4146, allocations: 314.8 kB / 0.7712 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.4146, allocations: 15.98 kB / 0.7712 GB, free: 15.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.4147, allocations: 15.98 kB / 0.7712 GB, free: 15.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4149, allocations: 36.89 kB / 0.7713 GB, free: 15.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4149, allocations: 0 / 0.7713 GB, free: 15.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001839/0.4151, allocations: 73.53 kB / 0.7713 GB, free: 15.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.4151, allocations: 7.938 kB / 0.7713 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4151, allocations: 0 / 0.7713 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4151, allocations: 4 kB / 0.7713 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.4152, allocations: 7.984 kB / 0.7713 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.4152, allocations: 4.031 kB / 0.7713 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.4153, allocations: 11.98 kB / 0.7714 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.4153, allocations: 0 / 0.7714 GB, free: 15.01 MB / 0.545 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 6.184e-05/0.4153, allocations: 116.2 kB / 0.7715 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.4154, allocations: 0 / 0.7715 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.4156, allocations: 72.72 kB / 0.7715 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4156, allocations: 8.031 kB / 0.7715 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4156, allocations: 0 / 0.7715 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4156, allocations: 0 / 0.7715 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.4158, allocations: 165.5 kB / 0.7717 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4158, allocations: 0 / 0.7717 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.4158, allocations: 7.984 kB / 0.7717 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4158, allocations: 4 kB / 0.7717 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-06/0.4158, allocations: 0 / 0.7717 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.4158, allocations: 0 / 0.7717 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4159, allocations: 0 / 0.7717 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.4161, allocations: 169.2 kB / 0.7719 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.4161, allocations: 81.05 kB / 0.772 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.4161, allocations: 0 / 0.772 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.4162, allocations: 11.98 kB / 0.772 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.4162, allocations: 0 / 0.772 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.4162, allocations: 4 kB / 0.772 GB, free: 14.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.4163, allocations: 83.31 kB / 0.772 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4163, allocations: 0 / 0.772 GB, free: 14.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002438/0.4165, allocations: 35.98 kB / 0.7721 GB, free: 14.17 MB / 0.545 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.0002101/0.4168, allocations: 139.2 kB / 0.7722 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.417, allocations: 31.97 kB / 0.7722 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.417, allocations: 0 / 0.7722 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.4171, allocations: 23.97 kB / 0.7723 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.4173, allocations: 15.86 kB / 0.7723 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.4175, allocations: 135.3 kB / 0.7724 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.4177, allocations: 0.6768 MB / 0.7731 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.4177, allocations: 7.438 kB / 0.7731 GB, free: 13.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4178, allocations: 0 / 0.7731 GB, free: 13.07 MB / 0.545 GB Notification: Performance of Templates: time 0.002089/0.4199, allocations: 0.9838 MB / 0.774 GB, free: 12.1 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)