Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007318/0.007318, allocations: 102.6 kB / 15.73 MB, free: 5.984 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.001604/0.001604, allocations: 198.6 kB / 16.68 MB, free: 5.91 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.278/1.278, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 298.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.949/0.949, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 95.86 kB / 0.6815 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4381, allocations: 86.98 MB / 0.7664 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001617/0.4398, allocations: 0.5666 MB / 0.767 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004736/0.4403, allocations: 191.3 kB / 0.7672 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.4403, allocations: 0 / 0.7672 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.4403, allocations: 0 / 0.7672 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-06/0.4403, allocations: 0 / 0.7672 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.4407, allocations: 59.81 kB / 0.7672 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.724e-05/0.4408, allocations: 0 / 0.7672 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.4408, allocations: 4 kB / 0.7672 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.055e-05/0.4408, allocations: 0 / 0.7672 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.898e-05/0.4408, allocations: 3.984 kB / 0.7672 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.4408, allocations: 4 kB / 0.7672 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.441, allocations: 51.89 kB / 0.7673 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.441, allocations: 4 kB / 0.7673 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.441, allocations: 3.984 kB / 0.7673 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.4411, allocations: 27.95 kB / 0.7673 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4412, allocations: 3.938 kB / 0.7673 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4412, allocations: 0 / 0.7673 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.4412, allocations: 4 kB / 0.7673 GB, free: 2.965 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000269/0.4415, allocations: 323.6 kB / 0.7676 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.4415, allocations: 8.031 kB / 0.7676 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.4415, allocations: 4.875 kB / 0.7676 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.4416, allocations: 164.3 kB / 0.7678 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.4416, allocations: 4.375 kB / 0.7678 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-06/0.4416, allocations: 384 / 0.7678 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.154e-05/0.4417, allocations: 30.25 kB / 0.7678 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.4417, allocations: 192 / 0.7678 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.4417, allocations: 7.938 kB / 0.7678 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.4418, allocations: 4 kB / 0.7678 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.614e-05/0.4418, allocations: 4 kB / 0.7678 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.4419, allocations: 141.7 kB / 0.768 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.4419, allocations: 30.55 kB / 0.768 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.442, allocations: 4.859 kB / 0.768 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006388/0.4426, allocations: 453.5 kB / 0.7685 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.4426, allocations: 34.56 kB / 0.7685 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.4426, allocations: 0 / 0.7685 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000114/0.4428, allocations: 37.64 kB / 0.7685 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.4428, allocations: 59.33 kB / 0.7686 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.886e-05/0.4428, allocations: 89.98 kB / 0.7687 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.4429, allocations: 29.7 kB / 0.7687 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.4429, allocations: 80.14 kB / 0.7688 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.4429, allocations: 3.906 kB / 0.7688 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.4429, allocations: 13.72 kB / 0.7688 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.443, allocations: 314.8 kB / 0.7691 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.4431, allocations: 0 / 0.7691 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.4431, allocations: 4 kB / 0.7691 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/0.4431, allocations: 8.922 kB / 0.7691 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4431, allocations: 0 / 0.7691 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.686e-05/0.4432, allocations: 37.69 kB / 0.7691 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.4432, allocations: 4 kB / 0.7691 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4432, allocations: 0 / 0.7691 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4432, allocations: 7.875 kB / 0.7691 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.4432, allocations: 4 kB / 0.7691 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.4433, allocations: 0 / 0.7691 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.816e-06/0.4433, allocations: 0 / 0.7691 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.4433, allocations: 0 / 0.7691 GB, free: 0.7773 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.956e-05/0.4434, allocations: 119.9 kB / 0.7693 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-06/0.4434, allocations: 3.938 kB / 0.7693 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.4434, allocations: 48.69 kB / 0.7693 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4434, allocations: 0 / 0.7693 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4435, allocations: 0 / 0.7693 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.4435, allocations: 0 / 0.7693 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.49e-05/0.4436, allocations: 141.7 kB / 0.7694 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4436, allocations: 3.984 kB / 0.7695 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.4436, allocations: 4 kB / 0.7695 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.4436, allocations: 4.031 kB / 0.7695 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.4436, allocations: 3.938 kB / 0.7695 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4436, allocations: 3.938 kB / 0.7695 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4436, allocations: 0 / 0.7695 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.602e-05/0.4437, allocations: 57.14 kB / 0.7695 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.4437, allocations: 81.09 kB / 0.7696 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.4437, allocations: 3.938 kB / 0.7696 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.4437, allocations: 4.031 kB / 0.7696 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.4438, allocations: 4 kB / 0.7696 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.4438, allocations: 0 / 0.7696 GB, free: 216 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.474e-05/0.4438, allocations: 75.28 kB / 0.7697 GB, free: 140 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4438, allocations: 0 / 0.7697 GB, free: 140 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001876/0.444, allocations: 16 kB / 0.7697 GB, free: 124 kB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.0002084/0.4442, allocations: 123.6 kB / 0.7698 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.502e-05/0.4443, allocations: 11.94 kB / 0.7698 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4443, allocations: 0 / 0.7698 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/0.4443, allocations: 0 / 0.7698 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.4444, allocations: 7.938 kB / 0.7698 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001567/0.4446, allocations: 77.08 kB / 0.7699 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.4448, allocations: 0.6767 MB / 0.7706 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.208e-05/0.4448, allocations: 8.109 kB / 0.7706 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.074e-05/0.4448, allocations: 11.44 kB / 0.7706 GB, free: 15.14 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4448, allocations: 0 / 0.7706 GB, free: 15.14 MB / 0.545 GB Notification: Performance of Templates: time 0.002214/0.447, allocations: 398.2 kB / 0.771 GB, free: 14.76 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)