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.005348/0.005348, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001147/0.001147, allocations: 205.4 kB / 16.68 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 274.8 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9571/0.9571, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 96.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1679, allocations: 86.98 MB / 0.7664 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001526/0.1695, allocations: 0.5682 MB / 0.767 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004425/0.1699, allocations: 199.3 kB / 0.7672 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.222e-05/0.17, allocations: 0 / 0.7672 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.17, allocations: 0 / 0.7672 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.17, allocations: 0 / 0.7672 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.1704, allocations: 51.83 kB / 0.7672 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.735e-05/0.1704, allocations: 4 kB / 0.7672 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.1705, allocations: 3.984 kB / 0.7672 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.255e-05/0.1705, allocations: 0 / 0.7672 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.964e-05/0.1705, allocations: 4 kB / 0.7672 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.652e-06/0.1705, allocations: 0 / 0.7672 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1707, allocations: 55.95 kB / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.144e-06/0.1707, allocations: 0 / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.1707, allocations: 3.984 kB / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1708, allocations: 43.77 kB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1709, allocations: 0 / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1709, allocations: 0 / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1709, allocations: 0 / 0.7673 GB, free: 7.473 MB / 0.5606 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.000265/0.1711, allocations: 319.5 kB / 0.7676 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1712, allocations: 12.03 kB / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.1712, allocations: 0.9375 kB / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.334e-05/0.1713, allocations: 160.4 kB / 0.7678 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.1713, allocations: 384 / 0.7678 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.1713, allocations: 4.375 kB / 0.7678 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.1714, allocations: 30.25 kB / 0.7678 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1714, allocations: 192 / 0.7678 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1714, allocations: 3.938 kB / 0.7678 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1715, allocations: 0 / 0.7678 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.1715, allocations: 11.92 kB / 0.7678 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.1716, allocations: 153.7 kB / 0.768 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.351e-05/0.1717, allocations: 14.58 kB / 0.768 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.1717, allocations: 8.953 kB / 0.768 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006303/0.1723, allocations: 457.5 kB / 0.7685 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1723, allocations: 34.56 kB / 0.7685 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1724, allocations: 0 / 0.7685 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001167/0.1725, allocations: 37.58 kB / 0.7685 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1725, allocations: 51.41 kB / 0.7686 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.024e-05/0.1725, allocations: 89.86 kB / 0.7687 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1726, allocations: 33.64 kB / 0.7687 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.1726, allocations: 84.27 kB / 0.7688 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1726, allocations: 3.953 kB / 0.7688 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.1727, allocations: 17.7 kB / 0.7688 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.1728, allocations: 310.8 kB / 0.7691 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-06/0.1728, allocations: 0 / 0.7691 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.1728, allocations: 0 / 0.7691 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.141e-05/0.1728, allocations: 8.859 kB / 0.7691 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1728, allocations: 0 / 0.7691 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.555e-05/0.1729, allocations: 45.64 kB / 0.7691 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1729, allocations: 8 kB / 0.7691 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1729, allocations: 0 / 0.7691 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1729, allocations: 7.922 kB / 0.7692 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.681e-05/0.173, allocations: 0 / 0.7692 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.173, allocations: 4 kB / 0.7692 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-06/0.173, allocations: 0 / 0.7692 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.173, allocations: 0 / 0.7692 GB, free: 5.281 MB / 0.5606 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.632e-05/0.1731, allocations: 106.5 kB / 0.7693 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/0.1731, allocations: 4.031 kB / 0.7693 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.1731, allocations: 44.75 kB / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1732, allocations: 3.938 kB / 0.7693 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1732, allocations: 4 kB / 0.7693 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1732, allocations: 0 / 0.7693 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.104e-05/0.1733, allocations: 141.7 kB / 0.7694 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1733, allocations: 0 / 0.7694 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.1733, allocations: 0 / 0.7694 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1733, allocations: 4 kB / 0.7695 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.1733, allocations: 3.938 kB / 0.7695 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1733, allocations: 8.016 kB / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1733, allocations: 0 / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.033e-05/0.1734, allocations: 53.14 kB / 0.7695 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.1734, allocations: 81.11 kB / 0.7696 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.1734, allocations: 3.938 kB / 0.7696 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/0.1734, allocations: 0 / 0.7696 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.1735, allocations: 3.984 kB / 0.7696 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.1735, allocations: 4.031 kB / 0.7696 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.28e-05/0.1735, allocations: 75.28 kB / 0.7697 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.513e-06/0.1735, allocations: 0 / 0.7697 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001943/0.1737, allocations: 19.88 kB / 0.7697 GB, free: 4.633 MB / 0.5606 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.0001888/0.1739, allocations: 124.3 kB / 0.7698 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.235e-05/0.174, allocations: 8 kB / 0.7698 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.174, allocations: 0 / 0.7698 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.174, allocations: 3.938 kB / 0.7698 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1741, allocations: 8 kB / 0.7698 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001683/0.1743, allocations: 80.91 kB / 0.7699 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.1745, allocations: 0.669 MB / 0.7706 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.298e-05/0.1745, allocations: 3.984 kB / 0.7706 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.1745, allocations: 11.44 kB / 0.7706 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1746, allocations: 4.125 kB / 0.7706 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.002098/0.1767, allocations: 412.8 kB / 0.771 GB, free: 3.258 MB / 0.5606 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)