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.001267/0.001268, allocations: 107.2 kB / 16.41 MB, free: 6.473 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.001329/0.001329, allocations: 189.6 kB / 17.34 MB, free: 5.75 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002326/0.002326, allocations: 291.7 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8982/0.8982, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.399, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002289/0.4013, allocations: 1.422 MB / 0.7684 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006032/0.4019, allocations: 343.8 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.402, allocations: 3.938 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.402, allocations: 3.938 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.4021, allocations: 0 / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.4025, allocations: 111.6 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.4025, allocations: 19.92 kB / 0.7689 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.452e-05/0.4026, allocations: 4 kB / 0.7689 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.4027, allocations: 8 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.4027, allocations: 15.92 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.4027, allocations: 0 / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.4029, allocations: 123.8 kB / 0.7691 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.403, allocations: 7.984 kB / 0.7691 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.403, allocations: 11.94 kB / 0.7691 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.4031, allocations: 95.8 kB / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4032, allocations: 0 / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4032, allocations: 0 / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.4032, allocations: 0 / 0.7692 GB, free: 1.75 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.0004203/0.4036, allocations: 351.1 kB / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4036, allocations: 8.031 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.4037, allocations: 0.9375 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.293e-05/0.4038, allocations: 168.4 kB / 0.7697 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.4038, allocations: 4.375 kB / 0.7697 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.4038, allocations: 384 / 0.7697 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.404, allocations: 54.17 kB / 0.7697 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.404, allocations: 192 / 0.7697 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.404, allocations: 3.938 kB / 0.7697 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.404, allocations: 0 / 0.7697 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.4042, allocations: 31.97 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.4044, allocations: 256.9 kB / 0.77 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.4046, allocations: 42.44 kB / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.4047, allocations: 24.91 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.4053, allocations: 457.5 kB / 0.7705 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.4053, allocations: 34.56 kB / 0.7705 GB, free: 92 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.4053, allocations: 0 / 0.7705 GB, free: 92 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003062/0.4056, allocations: 77.64 kB / 0.7706 GB, free: 8 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.4057, allocations: 55.53 kB / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/0.4057, allocations: 105.8 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.4057, allocations: 29.69 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.4058, allocations: 84.14 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.4058, allocations: 10.44 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.4058, allocations: 9.719 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.4059, allocations: 314.8 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.406, allocations: 23.97 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.4061, allocations: 15.92 kB / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.4062, allocations: 36.83 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4062, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.4064, allocations: 77.62 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4064, allocations: 8 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.4064, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4065, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.4065, allocations: 15.92 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4065, allocations: 0 / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.4066, allocations: 4 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.4066, allocations: 0 / 0.7714 GB, free: 15.18 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.32e-05/0.4067, allocations: 120.2 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.4067, allocations: 4 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.4069, allocations: 68.78 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4069, allocations: 0 / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4069, allocations: 4 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4069, allocations: 0 / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.4071, allocations: 161.5 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4071, allocations: 3.984 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.4071, allocations: 4 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4071, allocations: 7.969 kB / 0.7717 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.4072, allocations: 4 kB / 0.7717 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4072, allocations: 0 / 0.7717 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4072, allocations: 0 / 0.7717 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.4074, allocations: 165.2 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.4074, allocations: 81.09 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.4074, allocations: 4.031 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.4075, allocations: 4 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.4075, allocations: 3.984 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.4076, allocations: 8 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.4076, allocations: 79.28 kB / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4076, allocations: 0 / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002385/0.4078, allocations: 32 kB / 0.7721 GB, free: 14.35 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.0002286/0.4081, allocations: 139.2 kB / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.4083, allocations: 39.89 kB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4083, allocations: 4.062 kB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.525e-05/0.4084, allocations: 19.98 kB / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.4086, allocations: 7.875 kB / 0.7723 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.4089, allocations: 131.3 kB / 0.7724 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.4091, allocations: 0.6768 MB / 0.7731 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.4091, allocations: 11.38 kB / 0.7731 GB, free: 13.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4091, allocations: 0 / 0.7731 GB, free: 13.25 MB / 0.545 GB Notification: Performance of Templates: time 0.002122/0.4113, allocations: 0.972 MB / 0.774 GB, free: 12.28 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)