Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007188/0.007188, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001614/0.001614, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 288 kB / 290.8 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.9598/0.9598, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 96.08 kB / 0.6815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4207, allocations: 86.98 MB / 0.7664 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002466/0.4233, allocations: 1.418 MB / 0.7678 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004932/0.4238, allocations: 252.1 kB / 0.768 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.4238, allocations: 0 / 0.768 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.4238, allocations: 0 / 0.768 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.4239, allocations: 7.938 kB / 0.768 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.4242, allocations: 59.81 kB / 0.7681 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.907e-05/0.4243, allocations: 15.98 kB / 0.7681 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.4244, allocations: 8 kB / 0.7681 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.4244, allocations: 11.92 kB / 0.7681 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.4245, allocations: 11.98 kB / 0.7681 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.4245, allocations: 4 kB / 0.7681 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.4246, allocations: 63.88 kB / 0.7682 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.4246, allocations: 3.938 kB / 0.7682 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.4247, allocations: 11.98 kB / 0.7682 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.4248, allocations: 47.86 kB / 0.7683 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4248, allocations: 0 / 0.7683 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4248, allocations: 0 / 0.7683 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.4248, allocations: 3.938 kB / 0.7683 GB, free: 1.871 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.0003949/0.4252, allocations: 347.1 kB / 0.7686 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.4253, allocations: 12.03 kB / 0.7686 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.4253, allocations: 4.938 kB / 0.7686 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.4254, allocations: 168.3 kB / 0.7688 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.4254, allocations: 384 / 0.7688 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.4254, allocations: 4.375 kB / 0.7688 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4256, allocations: 46.23 kB / 0.7688 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.4256, allocations: 192 / 0.7688 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4256, allocations: 7.938 kB / 0.7688 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4256, allocations: 0 / 0.7688 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.4258, allocations: 35.95 kB / 0.7689 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.4261, allocations: 252.7 kB / 0.7691 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4262, allocations: 42.53 kB / 0.7691 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.4263, allocations: 28.91 kB / 0.7692 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/0.4269, allocations: 453.5 kB / 0.7696 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.4269, allocations: 34.56 kB / 0.7696 GB, free: 216 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4269, allocations: 0 / 0.7696 GB, free: 216 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003124/0.4273, allocations: 85.58 kB / 0.7697 GB, free: 124 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.4273, allocations: 55.41 kB / 0.7698 GB, free: 56 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.4274, allocations: 97.86 kB / 0.7699 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.4274, allocations: 25.7 kB / 0.7699 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.4274, allocations: 80.14 kB / 0.77 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.4275, allocations: 14.42 kB / 0.77 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.4275, allocations: 13.84 kB / 0.77 GB, free: 15.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.4276, allocations: 314.8 kB / 0.7703 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.4277, allocations: 15.98 kB / 0.7703 GB, free: 15.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.4278, allocations: 15.98 kB / 0.7703 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.4279, allocations: 40.81 kB / 0.7704 GB, free: 15.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4279, allocations: 4.062 kB / 0.7704 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000175/0.4281, allocations: 69.53 kB / 0.7704 GB, free: 15.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4281, allocations: 8 kB / 0.7704 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4281, allocations: 0 / 0.7704 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.4281, allocations: 0 / 0.7704 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.4282, allocations: 4 kB / 0.7704 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4282, allocations: 7.984 kB / 0.7704 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.4283, allocations: 0 / 0.7704 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.4283, allocations: 8.031 kB / 0.7705 GB, free: 15.31 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.4e-05/0.4284, allocations: 116.2 kB / 0.7706 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.4284, allocations: 192 / 0.7706 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.4286, allocations: 80.7 kB / 0.7706 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4286, allocations: 3.984 kB / 0.7706 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4286, allocations: 3.938 kB / 0.7706 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4286, allocations: 0 / 0.7706 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.4288, allocations: 161.6 kB / 0.7708 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4288, allocations: 0 / 0.7708 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.4288, allocations: 11.98 kB / 0.7708 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4288, allocations: 0 / 0.7708 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.4289, allocations: 3.938 kB / 0.7708 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4289, allocations: 0 / 0.7708 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4289, allocations: 0 / 0.7708 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.4291, allocations: 167.4 kB / 0.771 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.4291, allocations: 77.11 kB / 0.771 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.4291, allocations: 4 kB / 0.7711 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.4292, allocations: 11.98 kB / 0.7711 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.4293, allocations: 0 / 0.7711 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.4293, allocations: 3.938 kB / 0.7711 GB, free: 14.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.4293, allocations: 83.27 kB / 0.7711 GB, free: 14.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4293, allocations: 0 / 0.7711 GB, free: 14.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000228/0.4296, allocations: 20.03 kB / 0.7712 GB, free: 14.48 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.0001908/0.4297, allocations: 123.2 kB / 0.7713 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.4299, allocations: 31.97 kB / 0.7713 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.43, allocations: 4.062 kB / 0.7713 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.505e-05/0.43, allocations: 15.98 kB / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.4303, allocations: 18.42 kB / 0.7714 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.4305, allocations: 111.3 kB / 0.7715 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.4308, allocations: 0.6768 MB / 0.7721 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.4308, allocations: 0 / 0.7721 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.4309, allocations: 11.5 kB / 0.7721 GB, free: 13.43 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4309, allocations: 4 kB / 0.7721 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Templates: time 0.002533/0.4334, allocations: 0.6618 MB / 0.7728 GB, free: 12.77 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)