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.0009466/0.0009467, allocations: 113.3 kB / 16.42 MB, free: 6.441 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.001014/0.001014, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.001999, allocations: 288 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8851/0.8851, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 95.86 kB / 0.6822 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3546, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001634/0.3562, allocations: 0.5824 MB / 0.7677 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004363/0.3567, allocations: 179.4 kB / 0.7678 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.259e-05/0.3567, allocations: 0 / 0.7678 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.3567, allocations: 0 / 0.7678 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.3568, allocations: 3.938 kB / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.3571, allocations: 55.83 kB / 0.7679 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.418e-05/0.3572, allocations: 7.984 kB / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.3572, allocations: 0 / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/0.3572, allocations: 0 / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.141e-05/0.3573, allocations: 4 kB / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.3573, allocations: 0 / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.3575, allocations: 59.88 kB / 0.768 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-06/0.3575, allocations: 0 / 0.768 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.3575, allocations: 0 / 0.768 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.3576, allocations: 31.95 kB / 0.768 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3576, allocations: 4 kB / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3576, allocations: 0 / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3576, allocations: 0 / 0.768 GB, free: 2.984 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.0003125/0.3579, allocations: 319.6 kB / 0.7683 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.358, allocations: 8.031 kB / 0.7683 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.358, allocations: 4.875 kB / 0.7683 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.823e-05/0.3581, allocations: 160.4 kB / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3581, allocations: 384 / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.3582, allocations: 8.297 kB / 0.7685 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.046e-05/0.3583, allocations: 38.27 kB / 0.7685 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3583, allocations: 4.125 kB / 0.7685 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3583, allocations: 7.922 kB / 0.7685 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3583, allocations: 0 / 0.7685 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.3583, allocations: 0 / 0.7685 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.3585, allocations: 145.7 kB / 0.7687 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.103e-05/0.3585, allocations: 18.58 kB / 0.7687 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.3585, allocations: 12.94 kB / 0.7687 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006285/0.3592, allocations: 453.5 kB / 0.7691 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3592, allocations: 30.56 kB / 0.7691 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3592, allocations: 3.938 kB / 0.7692 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.3593, allocations: 45.62 kB / 0.7692 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.3593, allocations: 55.53 kB / 0.7692 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.971e-05/0.3594, allocations: 89.86 kB / 0.7693 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3594, allocations: 25.7 kB / 0.7694 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.3594, allocations: 80.14 kB / 0.7694 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3595, allocations: 3.906 kB / 0.7694 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.3595, allocations: 9.719 kB / 0.7694 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9e-05/0.3596, allocations: 314.8 kB / 0.7697 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-06/0.3596, allocations: 0 / 0.7697 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-06/0.3596, allocations: 4 kB / 0.7698 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/0.3596, allocations: 16.8 kB / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3596, allocations: 0 / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.586e-05/0.3597, allocations: 33.69 kB / 0.7698 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.3597, allocations: 8 kB / 0.7698 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.3597, allocations: 0 / 0.7698 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3597, allocations: 3.938 kB / 0.7698 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.061e-05/0.3598, allocations: 4 kB / 0.7698 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.3598, allocations: 0 / 0.7698 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-06/0.3598, allocations: 4.094 kB / 0.7698 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.3598, allocations: 4 kB / 0.7698 GB, free: 0.7891 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 5.958e-05/0.3599, allocations: 112 kB / 0.7699 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.3599, allocations: 0 / 0.7699 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.3599, allocations: 44.75 kB / 0.77 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3599, allocations: 3.938 kB / 0.77 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.3599, allocations: 3.938 kB / 0.77 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.36, allocations: 77.11 kB / 0.7701 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.36, allocations: 8.031 kB / 0.7701 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-06/0.36, allocations: 3.938 kB / 0.7701 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.36, allocations: 0 / 0.7701 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.459e-05/0.3601, allocations: 109 kB / 0.7702 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.597e-05/0.3602, allocations: 206.7 kB / 0.7704 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.354e-05/0.3602, allocations: 7.984 kB / 0.7704 GB, free: 180 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.067e-05/0.3602, allocations: 79.34 kB / 0.7705 GB, free: 100 kB / 0.5294 GB Notification: Performance of Backend: time 2e-07/0.3602, allocations: 0 / 0.7705 GB, free: 100 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.3606, allocations: 102.4 kB / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of SimCode: time 0.0002626/0.3609, allocations: 0.5215 MB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of Templates: time 0.002097/0.363, allocations: 442.2 kB / 0.7715 GB, free: 14.99 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)