Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009888/0.000989, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008098/0.008098, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 271.1 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003987, allocations: 15.08 kB / 0.5987 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1459, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.001451/0.1474, allocations: 1.156 MB / 0.6862 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005083/0.1479, allocations: 257.7 kB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.1479, allocations: 0 / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1479, allocations: 1.5 kB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.148, allocations: 3.938 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1483, allocations: 51.88 kB / 0.6865 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.919e-05/0.1483, allocations: 19.88 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.214e-05/0.1484, allocations: 13.2 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.1485, allocations: 4 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.459e-05/0.1485, allocations: 13.77 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.1485, allocations: 0 / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1487, allocations: 67.88 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.1487, allocations: 7.984 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.1487, allocations: 32.23 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.1488, allocations: 47.92 kB / 0.6867 GB, free: 13.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1489, allocations: 0 / 0.6867 GB, free: 13.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1489, allocations: 4 kB / 0.6867 GB, free: 13.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1489, allocations: 0 / 0.6867 GB, free: 13.39 MB / 494.1 MB 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.0003999/0.1493, allocations: 344.8 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1493, allocations: 17.66 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.1494, allocations: 4.844 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1495, allocations: 168.4 kB / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1495, allocations: 8.375 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1495, allocations: 5.344 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1497, allocations: 55.86 kB / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1497, allocations: 192 / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1497, allocations: 3.938 kB / 0.6873 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1497, allocations: 0 / 0.6873 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1499, allocations: 47.61 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.1502, allocations: 241 kB / 0.6876 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1504, allocations: 57.64 kB / 0.6877 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.094e-05/0.1505, allocations: 24.91 kB / 0.6877 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006449/0.1511, allocations: 463.9 kB / 0.6881 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1511, allocations: 32.16 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1512, allocations: 0 / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003628/0.1515, allocations: 100.4 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1516, allocations: 51.41 kB / 0.6883 GB, free: 11.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.1516, allocations: 101.8 kB / 0.6884 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1517, allocations: 25.7 kB / 0.6884 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.1517, allocations: 88.12 kB / 0.6885 GB, free: 11.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.1517, allocations: 7.906 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.1518, allocations: 9.719 kB / 0.6885 GB, free: 11.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1519, allocations: 314.8 kB / 0.6888 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/0.152, allocations: 28.02 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.152, allocations: 19.97 kB / 0.6889 GB, free: 10.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.1522, allocations: 48.89 kB / 0.6889 GB, free: 10.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1522, allocations: 0 / 0.6889 GB, free: 10.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002059/0.1524, allocations: 89.5 kB / 0.689 GB, free: 10.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1525, allocations: 8 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1525, allocations: 3.938 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1525, allocations: 0 / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.1526, allocations: 11.98 kB / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1526, allocations: 0 / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.1526, allocations: 11.94 kB / 0.689 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1527, allocations: 0 / 0.689 GB, free: 10.74 MB / 494.1 MB 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.457e-05/0.1527, allocations: 119.1 kB / 0.6891 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.1528, allocations: 4 kB / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.153, allocations: 84.77 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.153, allocations: 0 / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.153, allocations: 4.031 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.153, allocations: 0 / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1532, allocations: 157.6 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1532, allocations: 0 / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.1533, allocations: 15.92 kB / 0.6894 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1533, allocations: 0 / 0.6894 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1533, allocations: 0 / 0.6894 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1533, allocations: 4 kB / 0.6894 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1533, allocations: 0 / 0.6894 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1535, allocations: 175.5 kB / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1536, allocations: 77.3 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-06/0.1536, allocations: 0 / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.1537, allocations: 16.02 kB / 0.6897 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.1537, allocations: 3.984 kB / 0.6897 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1537, allocations: 4 kB / 0.6897 GB, free: 9.992 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.208e-05/0.1538, allocations: 83.27 kB / 0.6898 GB, free: 9.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1538, allocations: 0 / 0.6898 GB, free: 9.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.154, allocations: 23.91 kB / 0.6898 GB, free: 9.887 MB / 494.1 MB 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.000184/0.1542, allocations: 119.2 kB / 0.6899 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1544, allocations: 47.91 kB / 0.6899 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1544, allocations: 4.062 kB / 0.6899 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.1545, allocations: 19.98 kB / 0.69 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.1548, allocations: 13.64 kB / 0.69 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.155, allocations: 113.1 kB / 0.6901 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1552, allocations: 0.6771 MB / 0.6907 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.026e-05/0.1552, allocations: 7.984 kB / 0.6907 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.1553, allocations: 11.44 kB / 0.6908 GB, free: 8.82 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1553, allocations: 0 / 0.6908 GB, free: 8.82 MB / 494.1 MB Notification: Performance of Templates: time 0.002451/0.1577, allocations: 0.5861 MB / 0.6913 GB, free: 8.238 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)