Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004099/0.004099, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001002/0.001002, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 283 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9562/0.9562, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 95.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1697, allocations: 86.97 MB / 0.7664 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001752/0.1714, allocations: 0.5916 MB / 0.767 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000487/0.172, allocations: 199.3 kB / 0.7672 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.241e-05/0.172, allocations: 0 / 0.7672 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.202e-05/0.172, allocations: 0 / 0.7672 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.172, allocations: 4 kB / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.1724, allocations: 51.83 kB / 0.7672 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.706e-05/0.1725, allocations: 4 kB / 0.7672 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.1725, allocations: 7.984 kB / 0.7673 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.282e-05/0.1725, allocations: 0 / 0.7673 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.1726, allocations: 0 / 0.7673 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-06/0.1726, allocations: 0 / 0.7673 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1728, allocations: 63.88 kB / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.1728, allocations: 0 / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.1728, allocations: 0 / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1729, allocations: 35.88 kB / 0.7674 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1729, allocations: 8 kB / 0.7674 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1729, allocations: 0 / 0.7674 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.173, allocations: 0 / 0.7674 GB, free: 7.441 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.0002981/0.1733, allocations: 319.6 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1733, allocations: 8.031 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.1733, allocations: 0.9375 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.122e-05/0.1734, allocations: 164.3 kB / 0.7678 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1734, allocations: 4.359 kB / 0.7678 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1735, allocations: 4.375 kB / 0.7678 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.219e-05/0.1736, allocations: 30.27 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1736, allocations: 192 / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1736, allocations: 3.938 kB / 0.7679 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1736, allocations: 0 / 0.7679 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.1736, allocations: 4 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.1738, allocations: 145.7 kB / 0.768 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.1738, allocations: 18.52 kB / 0.768 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.1738, allocations: 12.94 kB / 0.768 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/0.1746, allocations: 457.5 kB / 0.7685 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1746, allocations: 34.55 kB / 0.7685 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.1746, allocations: 3.938 kB / 0.7685 GB, free: 6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.1748, allocations: 37.64 kB / 0.7686 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.1748, allocations: 55.41 kB / 0.7686 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.158e-05/0.1749, allocations: 93.8 kB / 0.7687 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1749, allocations: 25.7 kB / 0.7687 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.538e-05/0.1749, allocations: 84.14 kB / 0.7688 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1749, allocations: 3.906 kB / 0.7688 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.175, allocations: 9.719 kB / 0.7688 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.1751, allocations: 314.8 kB / 0.7691 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.1751, allocations: 4.125 kB / 0.7691 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-06/0.1751, allocations: 3.984 kB / 0.7691 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.1751, allocations: 8.859 kB / 0.7691 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1751, allocations: 0 / 0.7691 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.967e-05/0.1752, allocations: 37.64 kB / 0.7692 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1752, allocations: 4 kB / 0.7692 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1752, allocations: 4 kB / 0.7692 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1753, allocations: 3.938 kB / 0.7692 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.915e-05/0.1753, allocations: 4.031 kB / 0.7692 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1753, allocations: 4 kB / 0.7692 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-06/0.1753, allocations: 0 / 0.7692 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1753, allocations: 4 kB / 0.7692 GB, free: 5.25 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 6.496e-05/0.1754, allocations: 114.4 kB / 0.7693 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-06/0.1754, allocations: 3.984 kB / 0.7693 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.1755, allocations: 40.77 kB / 0.7693 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1755, allocations: 0 / 0.7693 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1755, allocations: 0 / 0.7693 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1755, allocations: 4.031 kB / 0.7693 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.132e-05/0.1756, allocations: 149.7 kB / 0.7695 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1756, allocations: 0 / 0.7695 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.1756, allocations: 0 / 0.7695 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1756, allocations: 0 / 0.7695 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1757, allocations: 3.938 kB / 0.7695 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1757, allocations: 11.94 kB / 0.7695 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1757, allocations: 0 / 0.7695 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.966e-05/0.1757, allocations: 61.12 kB / 0.7696 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.1758, allocations: 77.11 kB / 0.7696 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1758, allocations: 3.938 kB / 0.7696 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-06/0.1758, allocations: 4 kB / 0.7696 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.1758, allocations: 0 / 0.7696 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.1758, allocations: 0 / 0.7696 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.455e-05/0.1759, allocations: 75.28 kB / 0.7697 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1759, allocations: 0 / 0.7697 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000206/0.1761, allocations: 19.94 kB / 0.7697 GB, free: 4.594 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.0001899/0.1763, allocations: 115.3 kB / 0.7698 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.793e-05/0.1764, allocations: 7.938 kB / 0.7698 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1764, allocations: 0 / 0.7698 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.203e-06/0.1764, allocations: 4 kB / 0.7699 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1765, allocations: 6.453 kB / 0.7699 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.1767, allocations: 89.02 kB / 0.7699 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.177, allocations: 0.669 MB / 0.7706 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.074e-05/0.177, allocations: 0 / 0.7706 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.177, allocations: 7.438 kB / 0.7706 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.177, allocations: 0 / 0.7706 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of Templates: time 0.002266/0.1793, allocations: 417 kB / 0.771 GB, free: 3.23 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)